-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs should include info how to promisify jar #143
Comments
I suspect that Since we support minimum node.js v6, and |
See also: #66 |
@stash I saw that one and it prompted me to write this issue. |
@stash Bluebird has a good backwards-compatible promisification function and would probably help. They also have util functions that could help with backwards compatibility. An example from Bluebird's docs that simultaneously supports promises and callbacks:
|
This should be useful:
|
We now support promises in the 4.x release. I think this issue is asking for better documentation, and some examples? Or should we close this out? |
this should be addressed in #234 |
#234 has been merged with updates to the README. |
* chore: prepare for summer20 release (#143) * 0.8.0 * chore: update jest to v25.5.4 (#152) * chore: upgrade jest to 25.5.4 * 0.9.0 (#154) * Update stubs for Summer 20 (#150) * update stubs for Summer 20 * APPLICATION_SCOPE as symbol * 0.9.1 * chore: update yarn lock file Co-authored-by: Aliaksandr Papko <apapko@salesforce.com> Co-authored-by: Trevor <tbliss@salesforce.com>
I would like to use promises but I have no clue how to promisify methods using built-in util.promisify. Docs should support this if it's not currently possible to implement promises on their own.
The text was updated successfully, but these errors were encountered: