Type alias RequestHandler

RequestHandler: ((method, args) => Promise<any>)

Handles request messages received by the RPCProtocol.

Type declaration

    • (method, args): Promise<any>
    • Parameters

      • method: string
      • args: any[]

      Returns Promise<any>