Type alias DispatchedFn<T>

DispatchedFn<T>: ((data: T | null) => void)

Type Parameters

  • T = unknown

Type declaration

    • (data: T | null): void
    • DispatcherFn allows for values to be processed after being presented to the iterator. Note that if the ProtocolFilter rejected the value it will not be presented to the DispatchedFn. Any processing should instead have been handled by the ProtocolFilterFn.

      Parameters

      • data: T | null

      Returns void

Generated using TypeDoc