mirror of
https://github.com/CamHenlin/MessagesForMacintosh.git
synced 2024-12-01 21:50:32 +00:00
32 lines
798 B
Markdown
32 lines
798 B
Markdown
# symbol-observable [![Build Status](https://travis-ci.org/benlesh/symbol-observable.svg?branch=master)](https://travis-ci.org/benlesh/symbol-observable)
|
|
|
|
> [`Symbol.observable`](https://github.com/zenparsing/es-observable) [ponyfill](https://ponyfill.com)
|
|
|
|
|
|
## Install
|
|
|
|
```
|
|
$ npm install --save symbol-observable
|
|
```
|
|
|
|
|
|
## Usage
|
|
|
|
```js
|
|
const symbolObservable = require('symbol-observable').default;
|
|
|
|
console.log(symbolObservable);
|
|
//=> Symbol(observable)
|
|
```
|
|
|
|
|
|
## Related
|
|
|
|
- [is-observable](https://github.com/sindresorhus/is-observable) - Check if a value is an Observable
|
|
- [observable-to-promise](https://github.com/sindresorhus/observable-to-promise) - Convert an Observable to a Promise
|
|
|
|
|
|
## License
|
|
|
|
MIT © [Sindre Sorhus](https://sindresorhus.com) and [Ben Lesh](https://github.com/benlesh)
|