question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

update documentation for using a promise while saving

See original GitHub issue

https://rawgit.com/MrRio/jsPDF/master/docs/jsPDF.html#save is not up to date regarding the option returnPromise:

doc.save(fileName, { returnPromise: true }).then(scb, ecb);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Uzlopakcommented, Dec 25, 2018

will be part of #2194

0reactions
theFallen78commented, Jan 7, 2019

@iwan-uschka thank you for the promt response am not sure but i dowloaded the zipfile from the website on 01/06/19

Read more comments on GitHub >

github_iconTop Results From Across the Web

Update Mongo document in promise after save with _id
First I make a Promise function which is called on POST request. It is saving new document. Next I call .then where I...
Read more >
update documentation for using a promise while saving #2173
I am using version 1.5.3 and the following works for me: var doc = new jsPDF({...}); doc.save(fileName, { returnPromise: ...
Read more >
My WRONG example of using Document.save() in Mongoose
Here, I use await to tell the program to wait for the newUser.save() to return the result of the promise first before it...
Read more >
How to use promises - Learn web development | MDN
A promise is an object returned by an asynchronous function, which represents the current state of the operation. At the time the promise...
Read more >
Return a Promise from Model.save() - Ember RFCs
We do not believe this requires any update to the Ember curriculum. API documentation does not need to be updated as it is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found