Variable SupplyInConst

SupplyIn: (new <TResult>(setup?, receiver?) => SupplyIn<TResult>) = SupplyIn$

Type declaration

    • new <TResult>(setup?, receiver?): SupplyIn<TResult>
    • Constructs receiving side of supply.

      Type Parameters

      • TResult = void

      Parameters

      • Optional setup: ((alsoOff) => void)

        An optional receiver of alsoOff method implementation.

          • (alsoOff): void
          • Parameters

            • alsoOff: ((receiver) => void)
                • (receiver): void
                • Parameters

                  Returns void

            Returns void

      • Optional receiver: SupplyReceiver<TResult> | SupplyReceiverFn<TResult>

        Optional supply receiver. Can be either an object, or a function.

      Returns SupplyIn<TResult>

Generated using TypeDoc