Class Multicast<A>

Multicasts pushed values to a variable number of async iterable iterators as receivers or subscribers.

Does not buffer pushed values; if no receivers are registered, pushed values are silently discarded.

Type Parameters

  • A

Hierarchy

  • Multicast

Implements

  • AsyncIterable<A>

Constructors

Properties

Methods

Constructors

Properties

init: (() => PushAdapter<A>) = ...

Type declaration

receivers: Set<PushAdapter<A>> = ...

Methods

  • Creates and registers a receiver.

    Returns AsyncIterableIterator<A>

Generated using TypeDoc