Search results
79 packages found
Hybridify. Hybrids. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of [relike][].
- all
- api
- args
- async
- asynchronous
- callback
- callback-style
- cb
- common
- func
- function
- hybrid
- hybridify
- hybrids
- View more
Promisify a callback-style function
Transform sync, async or generator function to Stream. Correctly handle errors and optional arguments.
- args
- arguments
- async
- asynchronous
- callback
- callback-stream
- cb
- correct
- create
- fn
- function
- generator
- generators
- letta
- View more
Returns true if function is a callback. Checks its name is one of [common-callback-names][] - callback, cb, cb_, callback_, next, done, they can be customized, these are default.
Dispatcher architecture for webapplications
Create promise from sync, async, string, number, array and so on. Handle completion (results) and errors gracefully! Built on top of `relike`, used by `redolent` to build robust (hybrid) APIs.
- all
- anything
- api
- array
- async
- bluebird
- callback
- cb
- complete
- completion
- convert
- easy
- everywhere
- gracefully
- View more
A backport of `util.callbackify` for Node.js 6.0 and up.
- async
- callback
- callbackify
- cb
- convert
- depromisify
- dethenify
- errback
- nodeback
- nodeify
- promise-to-callback
- promise
- promisify
- then
- View more
Observableify a callback-style function
Immediately invoked [pify](https://github.com/sindresorhus/pify)
Nodeify a promise-returning function
transform an async function to callback style
Acts like `co@4` and also is drop-in replacement for it (pass 100% of the tests). Built on top of `merz`, actually thanks to `always-done`. But accept everything, not only generators - sync functions, async functions, callbacks and more. Flow-control for
- async
- asynchronous
- callback
- cb
- child
- child-process
- co
- coify
- compat
- compatibility
- control
- control-flow
- done
- drop
- View more
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.
- always
- api
- async
- asynchronous
- bluebird
- callback
- cb
- child
- child-process
- control
- convert
- create
- flow
- function
- View more
Wraps synchronous functions with a callback-style API
awaitable callback
Extra err.stack entries for debuggability. Better than your plain 'if (err) { return cb(err) }'
Convert a callback-style function to an AsyncFunction
Super light and simple to use global application state and storage, subscribe/unsubscribe for data change etc..
if a function is defined run it with given args
One trigger can invoke all the subscribed callbacks events, Can create any number of triggers and each trigger can have any number of event subscribers