1.3.1 • Published 6 years ago

silhouette-plugin-rxjs v1.3.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

RXJS Plugin for Silhouette

This plugin adds an asObservable function to all silhouettes which returns an RXJS BehaviorSubject representing the state slice within the silhouette instance over time. The observables are created lazily, automatically end subscriptions, and can also be acquired using using a stream getter property.

import { create } from 'silhouette-core'
import rxjsPlugin from 'silhouette-plugin-rxjs'

const sil = create( rxjsPlugin() );

sil.stream.subscribe(v => console.log(v)); // > {}
console.log(sil.stream.value); // > {}
1.3.1

6 years ago

1.3.0

6 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago