Skip to main content

Class WorkerClientServices

Less than 1 minute

Class WorkerClientServices

Declared in packages/sdk/client/dist/types/src/services/worker-client-services.d.ts:21

Proxy to host client service in worker.

Constructors

constructor(options)

Returns: WorkerClientServices

Arguments:

options: WorkerClientServicesParams

Properties

closed

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.

joinedSpace

Type: Event<PublicKey>

descriptors

Type: ServiceBundle<ClientServices>

runtime

Type: SharedWorkerConnection

services

Type: Partial<ClientServices>

Methods

close()

Returns: Promise<void>

Arguments: none

open()

Returns: Promise<void>

Arguments: none