@actualwave/deferred
v0.0.1
Published
Simple function to create Promise with exposed resolve() and reject() handlers.
Downloads
54
Maintainers
Readme
deferred()
Simple function to create Promise with exposed resolve()
and reject()
handlers.
import deferred from '@actualwave/deferred';
const { resolve, reject, promise } = deferred();