p-observable
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

p-observable Travis CI Build Status

Promisify an observable by subscribing to it.

NPM Badge

Install

npm install p-observable

Usage

const pObservable = require("p-observable");

(async () => {
	const result = await pObservable(observable);

	console.log(result);
})();

API

pObservable(observable)

observable

Type: observable

The observable to promisify.

Package Sidebar

Install

npm i p-observable

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.28 kB

Total Files

6

Last publish

Collaborators

  • richienb