1.0.0 • Published 5 years ago
p-observable v1.0.0
p-observable
Promisify an observable by subscribing to it.
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.
1.0.0
5 years ago