Module
Rx.Observable
- Package
- purescript-rx
- Repository
- anttih/purescript-rx
#Observable Source
data Observable :: Type -> Type
A type which represents streams of discrete events. Please see RxJS API documentation for more more examples.
Instances
#fromArray Source
fromArray :: forall a. Array a -> Observable a
#generate Source
generate :: forall b a. a -> (a -> Boolean) -> (a -> a) -> (a -> b) -> Observable b
#subscribeOnCompleted Source
subscribeOnCompleted :: forall a eff. Observable a -> (Unit -> Eff eff Unit) -> Eff eff Unit
#subscribeOnError Source
subscribeOnError :: forall a eff. Observable a -> (Error -> Eff eff Unit) -> Eff eff Unit
#merge Source
merge :: forall a. Observable a -> Observable a -> Observable a
#combineLatest Source
combineLatest :: forall c b a. (a -> b -> c) -> Observable a -> Observable b -> Observable c
#concat Source
concat :: forall a. Observable a -> Observable a -> Observable a
#take Source
take :: forall a. Int -> Observable a -> Observable a
#takeUntil Source
takeUntil :: forall b a. Observable b -> Observable a -> Observable a
#flatMap Source
flatMap :: forall b a. Observable a -> (a -> Observable b) -> Observable b
#flatMapLatest Source
flatMapLatest :: forall b a. Observable a -> (a -> Observable b) -> Observable b
#scan Source
scan :: forall b a. (a -> b -> b) -> b -> Observable a -> Observable b
#startWith Source
startWith :: forall a. a -> Observable a -> Observable a
#unwrap Source
unwrap :: forall a eff. Observable (Eff eff a) -> Eff eff (Observable a)
#runObservable Source
runObservable :: forall eff. Observable (Eff eff Unit) -> Eff eff Unit
#switchLatest Source
switchLatest :: forall a. Observable (Observable a) -> Observable a
#debounce Source
debounce :: forall a. Int -> Observable a -> Observable a
#zip Source
zip :: forall c b a. (a -> b -> c) -> Observable a -> Observable b -> Observable c
#reduce Source
reduce :: forall b a. (a -> b -> b) -> b -> Observable a -> Observable b
#delay Source
delay :: forall a. Int -> Observable a -> Observable a
#materialize Source
materialize :: forall a. Observable a -> Observable (Notification a)
#dematerialize Source
dematerialize :: forall a. Observable (Notification a) -> Observable a
#distinct Source
distinct :: forall a. Observable a -> Observable a
#distinctUntilChanged Source
distinctUntilChanged :: forall a. Observable a -> Observable a
#filter Source
filter :: forall a. (a -> Boolean) -> Observable a -> Observable a
#withLatestFrom Source
withLatestFrom :: forall c b a. (a -> b -> c) -> Observable a -> Observable b -> Observable c