Configuration options for the RPC client's connect step

Hierarchy

  • RpcClientConnectOptions

Properties

Properties

cancelController?: ICancelController

Optional controller that allows the user to cancel the asynchronous connect process.

For example:

setTimeout(() => {controller.cancel();}, 30000);
await client.connect({
cancelController: controller
});

would apply a 30 second timeout to the client's connect call.

Generated using TypeDoc