Interface: Emitter<T>

"urx/actions".Emitter

An Emitter is the output end of a Stream. The subscribe action binds subscriptions to emitters.

Type parameters

NameDescription
Tthe type of values that will be emitted.

Hierarchy

Callable

▸ (action: SUBSCRIBE, subscription: Subscription<T>): Unsubscribe

Defined in urx/actions.ts:21

An Emitter is the output end of a Stream. The subscribe action binds subscriptions to emitters.

internal

Parameters:

NameType
actionSUBSCRIBE
subscriptionSubscription<T>

Returns: Unsubscribe

▸ (action: RESET): void

Defined in urx/actions.ts:23

An Emitter is the output end of a Stream. The subscribe action binds subscriptions to emitters.

internal

Parameters:

NameType
actionRESET

Returns: void