Interface: Stream<T>
"urx/actions".Stream
Streams present both the input and the output ends of a stream. A single stream instance can be both subscribed to and published in.
Type parameters
Name |
---|
T |
Hierarchy
Callable
▸ (action
: SUBSCRIBE | PUBLISH | RESET): any
Defined in urx/actions.ts:54
Streams present both the input and the output ends of a stream. A single stream instance can be both subscribed to and published in.
internal
Parameters:
Name | Type |
---|---|
action | SUBSCRIBE | PUBLISH | RESET |
Returns: any
▸ (action
: PUBLISH, value
: T): void
Defined in urx/actions.ts:12
Streams present both the input and the output ends of a stream. A single stream instance can be both subscribed to and published in.
internal
Parameters:
Name | Type |
---|---|
action | PUBLISH |
value | T |
Returns: void
▸ (action
: SUBSCRIBE, subscription
: Subscription<T>): Unsubscribe
Defined in urx/actions.ts:21
Streams present both the input and the output ends of a stream. A single stream instance can be both subscribed to and published in.
internal
Parameters:
Name | Type |
---|---|
action | SUBSCRIBE |
subscription | Subscription<T> |
Returns: Unsubscribe
▸ (action
: RESET): void
Defined in urx/actions.ts:23
Streams present both the input and the output ends of a stream. A single stream instance can be both subscribed to and published in.
internal
Parameters:
Name | Type |
---|---|
action | RESET |
Returns: void