6 packages found

    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

    published 1.0.0 7 years ago
    M
    Q
    P

    Make promise to have support for callback api, it returns promise in that same time.

    published 2.0.0 7 years ago
    M
    Q
    P
    M
    Q
    P

    Compose your control flow with absolute elegance. Support async/await, callbacks, thunks, generators, promises, observables, child processes and streams. Can power applications that need to have plugins. Useful for creating task, test and bench runners.

    published 0.4.0 7 years ago
    M
    Q
    P

    Hybridify. Hybrids. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of [relike][].

    published 2.0.0 6 years ago
    M
    Q
    P

    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.

    published 1.0.0 6 years ago
    M
    Q
    P