Subscriber
Overview
Invokes an execution of an observable and registers a handler for notifications it will emit.
Methods
subscribe
▸ subscribe<T>(handler
: (value: T) => void): Unsubscriber
Parameters:
Name | Type | Description |
---|---|---|
handler | T | Callback invoked whenever the event is emitted |
Returns: Unsubscriber