Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InitializeMiddleware<Input, Output>

A factory function that creates functions implementing the {Handler} interface.

Type parameters

  • Input: object

  • Output: object

Hierarchy

  • InitializeMiddleware

Callable

  • A factory function that creates functions implementing the {Handler} interface.

    Parameters

    • next: InitializeHandler<Input, Output>

      The handler to invoke after this middleware has operated on the user input and before this middleware operates on the output.

    • context: HandlerExecutionContext

      Invariant data and functions for use by the handler.

    Returns InitializeHandler<Input, Output>