Package Exports
- observable-props
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (observable-props) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
observable-props
Install
npm i -S observable-propsUsage example
import {Observable} from 'rxjs'
import props from 'observable-props'
props({
foo: 'bar',
time: Observable.interval(1000)
})
.subscribe(snapshot => console.log(snapshot))
//=> { foo: 'bar', time: 0 }
//=> { foo: 'bar', time: 1 }
//=> { foo: 'bar', time: 2 }
//=> { foo: 'bar', time: 3 }
//=> ...Note: The returned observable will wait for the first value of every observable found on keys before emitting the first snapshot
License
MIT