JavaScript Hybrids
- Sofia, Bulgaria
- http://j.mp/asyncfirst
Pinned Loading
Repositories
- always-done Public
🏆 Handle completion and errors with elegance! Support for async/await, promises, callbacks, streams and observables. A drop-in replacement for async-done - pass 100% of its tests plus more
- try-catch-callback Public
try/catch block with a callback, used in `try-catch-core`. Use it when you don't care about asyncness so much and don't want guarantees. If you care use `try-catch-core`.
- try-catch-core Public
Asynchronous and sync tryCatch in one place - works almost like `async-done`, used in `always-done`. The callback is securely wrapped with a `dezalgo` and `once`.
- always-promise Public
Promisify, basically, everything. Generator function, callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
- then-callback Public
Wrap a promise to allow passing callback to `.then` of given promise, also works as normal `.then`