Function nextCall

  • Constructs a call of the next pass in chain.

    Type Parameters

    • TChain extends CallChain

      A type of supported call chain.

    • TNextArgs extends any[]

      A type of argument tuple of the next pass.

    • TNextArg

      A type of single argument or arguments tuple of the next pass. The same as TNextArgs by default.

    Parameters

    • callNext: ((this, chain, fn) => void)

      A next pass caller function.

        • (this, chain, fn): void
        • Parameters

          • this: void
          • chain: TChain
          • fn: ((this, ...args) => void)
              • (this, ...args): void
              • Parameters

                • this: void
                • Rest ...args: TNextArgs

                Returns void

          Returns void

    Returns NextCall<TChain, TNextArgs, TNextArg>

    Next pass call performed by the given function.

Generated using TypeDoc