Interface NextCall<TChain, TNextArgs, TNextArg>

Type Parameters

  • TChain extends CallChain

    A type of supported call chain.

  • TNextArgs extends any[]

    A type of arguments tuple of the next pass.

  • TNextArg = TNextArgs

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

Hierarchy

  • NextCall
  • Returns itself.

    Makes this call a valid no-arg pass of a call chain.

    Returns NextCall<TChain, TNextArgs, TNextArg>

Properties

Methods

Properties

$?: TNextArg

Methods

  • Calls the given pass of the call chain.

    Parameters

    • chain: TChain

      Target call chain.

    • pass: ((this, ...args) => void)

      A pass in call chain to call.

        • (this, ...args): void
        • Parameters

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

          Returns void

    Returns void

Generated using TypeDoc