Type alias Handler<Options, Context>

Handler<Options, Context>: ((args: Context & Options) => void | Promise<void>)

Type Parameters

Type declaration

    • (args: Context & Options): void | Promise<void>
    • Parameters

      • args: Context & Options

      Returns void | Promise<void>

Generated using TypeDoc