Type alias SupplyReceiverFn<TResult>

SupplyReceiverFn<out TResult>: (<T>(this, reason) => void)

Type Parameters

  • out TResult = void

    Supply result type.

Type declaration

    • <T>(this, reason): void
    • Supply receiver function signature.

      Can be passed to Supply constructor, or as a whenOff method parameter.

      Can be converted to SupplyReceiver.

      Type Parameters

      • T extends TResult

      Parameters

      • this: void
      • reason: SupplyIsOff<T>

        A reason indicating why the supply has been cut off, and when.

      Returns void

Generated using TypeDoc