Sub overview
Defines Subs as streams of messages.
Added in v0.5.0
Table of contents
Functor
map
Maps Msg of a Sub into another Msg.
Signature
export declare function map<A, Msg>(f: (a: A) => Msg): (sub: Sub<A>) => Sub<Msg>
Added in v0.5.0
constructors
none
A none subscription is an empty stream.
Signature
export declare const none: any
Added in v0.5.0
model
Sub (type alias)
Signature
export type Sub<Msg> = Observable<Msg>
Added in v0.5.0
utils
batch
Merges subscriptions streams into one stream.
Signature
export declare function batch<Msg>(arr: Array<Sub<Msg>>): Sub<Msg>
Added in v0.5.0