p-lazy
by sindresorhus
JavaScriptpushed almost 2 years ago
Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called
AI summary
Deferred Promise
A promise class that defers execution until the promise is actually used or specific methods are called
- stars
- 269
- forks
- 11
- watching
- 8
- awesome list
- 1
Featured in 1 awesome list
Each link jumps to the spot where the list mentions p-lazy.