@dxos/react-client
    Preparing search index...

    Class LocalClientServices

    Starts a local instance of the service host.

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    closed: Event<undefined | Error>

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

    signalMetadataTags: any

    Accessors

    • get host(): undefined | ClientServicesHost

      Returns undefined | ClientServicesHost

    • get rpc(): ClientServicesRpc

      Effect-native client for all client services, inferred from the effect-rpc definitions. Preferred surface for new consumers; must be re-read after reconnect rather than cached. Effects it produces require only the default runtime and can be run with any Runtime<never>.

      Returns ClientServicesRpc

    Methods

    • Returns Promise<void>

    • Returns Promise<void>