@breadstone/ziegel-rx
Classes
| Class | Description |
|---|---|
| Bloc | Takes a stream of Events as input and transforms them into a Stream of States as output. |
| BlocObserver | An interface for observing the behavior of all Bloc instances. |
| CompositeUnsubscribable | Represents a group of unsubscribables that are unsubscribed together. |
| EventStreamClosedException | The EventStreamClosedException class. |
| Transition | Occurs when an event is added after mapEventToState has been called but before the bloc's state has been updated. A Transition consists of the currentState, the event which was added, and the nextState. |
Functions
| Function | Description |
|---|---|
| countdown | Counter down a observable. |
| countdown2 | Counter down a observable. |
| empty | - |
| notNull | - |
| observe | - |
| subscribeOnce | Subscribes a observable only once. The subscription will be unsubscribed when the observable is completed. |
| toBehaviorSubject | Converts a Observable to a BehaviorSubject. |
| toReplaySubject | Converts a Observable to a BehaviorSubject. |
| toSubject | Converts a Observable to a Subject. |