v0.2.0-pre.5
A promise that is resolvable (or rejectable) after it was created.
Repository
Current version released
3 years ago
Resolvable Promise
A promise that is resolvable (or rejectable) after it was created.
const promise = new ResolvablePromise()
promise.then(x => console.log('Resolved!', x))
promise.resolve({ foo: 'bar' })