Skip to main content

Class LocalClientServices

Less than 1 minute

Class LocalClientServices

Declared in packages/sdk/client/src/services/local-client-services.ts:71open in new window

Starts a local instance of the service host.

Constructors

constructor(params)open in new window

Returns: LocalClientServices

Arguments:

params: ClientServicesHostParams

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.

descriptorsopen in new window

Type: ServiceBundle<ClientServices>

hostopen in new window

Type: undefined | ClientServicesHost

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