Description
es6 Native Promise Defer that helps build promise/callback dual APIS
Keywords
Publisher
Description
Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call
Keywords
Publisher
Description
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
Keywords
- accumulate
- accumulator
- callback
- cb
- find
- for-in
- for-own
- has
- has-own
- hasOwn
- index
- iterate
- iterator
- javascript
- View more
Publisher
Description
Is function really asynchronous function? Trying to guess that based on check if [common-callback-names][] exists as function arguments names or you can pass your custom.
Keywords
Publisher
Description
Create callback api for given sync function. Guarantee that given function (sync or async, no matter) will always have callback api and will handle errors correctly.
Keywords
Publisher
Description
Process thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.
Keywords
- abort
- array
- async
- asynchronous
- callback
- cb
- closure
- concurrency
- concurrent
- control
- control flow
- each
- error
- flow
- View more
Publisher
Description
Make synchronous function or generator to support callback api
Keywords
- api
- async
- asynchronous
- callback
- callback-api
- cb
- create
- create-async
- create-callback
- make
- make-callback
- sync
- synchronous
Publisher
Description
Tiny, dependency free promisify library.
Keywords
- promise
- promisify
- promisify-all
- promisify-some
- promisify-except
- then
- thenify
- thenify-all
- thenify-some
- thenify-except
- callback
- cb
- fulfill
- wrap
- View more
Publisher
Description
Create callback api from synchronous function. Same as `make-callback`, but won't handle generators and if async function is given returns it.
Keywords
Publisher
Description
Simple web Event emitter
Keywords
Publisher
Description
small utility that wraps callbacks in native promises (es6)