View Code? Open in Web Editor
NEW
A handful of async/await adatapers that I keep having to rewrite.
License: MIT License
prospective's Introduction
A collection of async/await shims and utilities.
prospective's People
Contributors
Stargazers
prospective's Issues
Upgrade Proof to 9.0.0
. Closes #22 .
Update LICENSE
for 2020. Closes #21 .
Remove /.dots
from .gitignore
. Closes #19 .
Create a once
object that is a NULL
object that our dear user can use as a placeholder to cancel operations before they've begun in earnest.
Create a cancelable Promise
somehow. Find out why cancelation was abandoned in the specification. Review the following notes on subclassing promises.
Delay
is actually working, but it's not a subclass.
Easily return an object with a promise
property. Then you can save that object and invoke its cancel()
method to return early with whatever value you pass to cancel()
. Perhaps the method is resolve
or reject
.
Convert async
/await
to callback
. Closes #24 .
Remove scrap file. Closes #17 .
Update LICENSE
for 2021.
Build with Node.js 10, 12, 14 and 15 on CI/CD.
Convert an async function to an error-first callback function.
Fix once
multiple events.
Ask here before opening an issue.
Create Markdown readme with badges. Closes #15 .
Convert README.md
to Markdown. See #15 .
Build with Actions, ship coverage to Codecov. Closes #14 . Closes #13 .
Tidy .travis.yml
. Closes #12 .
Tidy .gitignore
. Closes #11 .
Convert test to Proof. Closes #10 .