Interface SubscribableOptions<This, Args>

Options for createSubscribable.

Type Parameters

  • This

  • Args extends any[]

Hierarchy

  • SubscribableOptions

Properties

defaultErrorStrategy?: ErrorStrategy

The error strategy to use by default.

defaultIterator?: EventIteratorOptions

Options to apply to iterators created by this subscribable.

subscribe: SubscribeFunction<This, Args>

Function used to subscribe a listener.

unsubscribe: UnsubscribeFunction<This, Args>

Function used to unsubscribe a listener.

Generated using TypeDoc