Type Alias HooksSettings<TContext>

HooksSettings: { context?: TContext; name?: string }

IMPORT_PATH: "@daiso-tech/core/utilities"

Type Parameters

Type declaration

  • Optionalcontext?: TContext

    You can provide addtional context that can be used in the middleware.

  • Optionalname?: string

    The name of the function which can be used for logging inside the middleware. By default, it takes the function or method name. If an anonymous function is provided, the name defaults to "func".