observable-to-promise

Async converter

Converts an Observable to a Promise for asynchronous data handling

Convert an Observable to a Promise

GitHub

47 stars
7 watching
6 forks
Language: JavaScript
last commit: about 1 year ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/any-observable Supports any Observable library and provides polyfills 70
sindresorhus/p-reduce Transforms an asynchronous list into a single value by applying a reduction function 68
sindresorhus/p-event Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. 429
sindresorhus/into-stream Converts various input types into readable streams. 207
sindresorhus/is-observable Tool to check if a value is an Observable 39
sindresorhus/p-map-series Serializes promise-based operations to ensure predictable order and execution of side effects. 47
sindresorhus/p-some Wait for a specified number of promises to be fulfilled 36
sindresorhus/pify Promises utility to convert callback-style functions into promise-based versions. 1,507
sindresorhus/p-each-series Iterates over promises in serial order, stopping at the first failed promise. 50
sindresorhus/p-any A utility function to wait for any of multiple promises to be fulfilled with cancellation support. 55
sindresorhus/p-log Utility for logging promise values and errors in a chain of operations 26
sindresorhus/p-tap Helps tap into a promise chain without affecting its value or state 132
sindresorhus/p-all Concurrently execute multiple promise-returning functions with optional concurrency limits. 315
sindresorhus/p-time A utility to measure the time taken by a promise to resolve 70
sindresorhus/p-map A utility for mapping over promises concurrently while controlling concurrency and error handling. 1,292