foundation-store.store.bindingasrx
Home > @genesislcap/foundation-store > Store > bindingAsRx
Store.bindingAsRx() method
An api to allow the observation of values and arbitrary bindings as Rx observables.
Signature:
bindingAsRx(): RXObservable<this>;
Returns:
RXObservable<this>
An rxjs Observable of the entire store.
Example
const entireStore$ = this.store.bindingAsRx().subscribe(value => {...});