Handler<Context, Result>: ((context: Context) => Promise<Result>) | ((context: Context) => Result)

Type Parameters

  • Context = unknown

  • Result = unknown