@dxos/app-framework - v0.16.0
    Preparing search index...

    Type Alias HostServiceAdapter

    Builds one of a plugin's services from a service its host serves, for a host (EDGE) that holds the service's state elsewhere: the host's side crosses a wire as plain data, so the plugin's own codecs turn it back into the values its operations use (refs, decoded schemas).

    type HostServiceAdapter = {
        host: string;
        make: (host: HostServiceProxy) => unknown;
        service: string;
    }
    Index

    Properties

    Properties

    host: string

    The key the host serves the wire service under.

    make: (host: HostServiceProxy) => unknown
    service: string

    The key of the service it builds, which the plugin's operations require.