@dxos/client
    Preparing search index...

    Class Client

    The Client class encapsulates the core client-side API of DXOS.

    Index

    Constructors

    Properties

    reloaded: Event<void> = ...

    Emitted after the client is reset and the services have finished restarting.

    version: "0.8.2" = DXOS_VERSION

    The version of this client API.

    Accessors

    Methods

    • Resets and destroys client storage. This will currently leave the client in a closed state. Re-using the client after reset is not currently supported.

      Returns Promise<void>

    • Reinitialized the client session with the remote service host. This is useful when connecting to a host running behind a resource lock (e.g., HALO when SharedWorker is unavailable).

      Returns Promise<void>

    • Returns {
          halo: undefined | HaloProxy;
          initialized: boolean;
          mesh: undefined | MeshProxy;
          spaces: undefined | SpaceList;
      }