Skip to main content

Class ClientServicesProxy

Class ClientServicesProxy

Declared in packages/sdk/client/src/services/service-proxy.ts:18open in new window

Implements services that are not local to the app. For example, the services can be located in Wallet Extension.


constructor(_port, _timeout)open in new window

Returns: ClientServicesProxy


_port: RpcPort

_timeout: number


closedopen in new window

Type: Event<undefined | Error>

The connection to the services provider was terminated. This should fire if the services disconnect unexpectedly or during a client reset.

descriptorsopen in new window

Type: ServiceBundle<ClientServices>

proxyopen in new window

Type: ProtoRpcPeer<ClientServices>

servicesopen in new window

Type: ClientServices


close()open in new window

Returns: Promise<void>

Arguments: none

open()open in new window

Returns: Promise<void>

Arguments: none