Interface BindRequestHandlerOptions<Response>

Type Parameters

  • Response

Hierarchy

  • BindRequestHandlerOptions

Properties

Properties

handler: ((request: MethodRequest<string, unknown[]>, sender?: MessageSender) => Promise<Response>)

Type declaration

    • (request: MethodRequest<string, unknown[]>, sender?: MessageSender): Promise<Response>
    • Parameters

      • request: MethodRequest<string, unknown[]>
      • Optional sender: MessageSender

      Returns Promise<Response>

Generated using TypeDoc