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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i p-observable

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.28 kB

Total Files

6

Last publish

Collaborators

  • richienb