Skip to main content

Class WorkerClientServices

Less than 1 minute

Class WorkerClientServices

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

Proxy to host client service in worker.

Constructors

constructor(options)open in new window

Returns: WorkerClientServices

Arguments:

options: WorkerClientServicesParams

Properties

closedopen in new window

Type: Event<undefined | Error>

The connection to the services provider was termintaed.

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>

Methods

close()open in new window

Returns: Promise<void>

Arguments: none

open()open in new window

Returns: Promise<void>

Arguments: none