Skip to main content

Class WorkerClientServices

Class WorkerClientServices

Declared in packages/sdk/client/src/services/worker-client-services.ts:39open in new window

Proxy to host client service in worker.


constructor(options)open in new window

Returns: WorkerClientServices


options: WorkerClientServicesParams


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.

joinedSpaceopen in new window

Type: Event<PublicKey>

descriptorsopen in new window

Type: ServiceBundle<ClientServices>

runtimeopen in new window

Type: SharedWorkerConnection

servicesopen in new window

Type: Partial<ClientServices>


close()open in new window

Returns: Promise<void>

Arguments: none

open()open in new window

Returns: Promise<void>

Arguments: none