Allows libraries to handle various caller provided asynchronous functions uniformly. Maps promises, observables, child processes and streams, and callbacks to callback style.
Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done] - pass 100% of its tests plus more
- View more
Low-level package to handle completion and errors of sync or asynchronous functions, using [once] and [dezalgo] libs. Useful for and used in higher-level libs such as [always-done] to handle completion of anything.
Extends `letta` to accept and handles more than functions only. Handles all kind of results from `letta`. Basically, creating promise from everything - strings, arrays, objects, functions, generators, generator functions, promises, streams, child processe