Interface AsyncSubscribableOptions<This, Args>

Options for createAsyncSubscribable.

Type Parameters

  • This

  • Args extends any[]

Hierarchy

  • AsyncSubscribableOptions

Properties

defaultErrorStrategy?: ErrorStrategy

Default error strategy to use.

defaultIterator?: EventIteratorOptions

Options to apply to iterators created by this subscribable.

subscribe: AsyncSubscribeFunction<This, Args>

Function used to subscribe a listener.

unsubscribe: AsyncUnsubscribeFunction<This, Args>

Function used to unsubscribe a listener.

Generated using TypeDoc