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:

NameType
actionSUBSCRIBE | 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:

NameType
actionPUBLISH
valueT

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:

NameType
actionSUBSCRIBE
subscriptionSubscription<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:

NameType
actionRESET

Returns: void