kernl API
    Preparing search index...

    Interface KernlMultiplayer

    The person's settings for meeting people and calling remote tools, kept on this device, and the search for tool families.

    interface KernlMultiplayer {
        state$: Observable<MultiplayerState>;
        discover(input: string): Promise<readonly ToolFamilyCandidate[]>;
        removeFamily(label: string, pubkey: string): void;
        saveFamily(family: CvmRegistryFamily): void;
        setHelpers(helpers: readonly DirectIceServer[] | undefined): void;
        setServers(urls: readonly string[] | undefined): void;
        state(): MultiplayerState;
    }

    Hierarchy (View Summary)

    Index
    state$: Observable<MultiplayerState>
    • Find tool families from an announcement reference, a schema hash or a website, over the servers in use (D-043).

      Parameters

      • input: string

      Returns Promise<readonly ToolFamilyCandidate[]>

    • Trust a family, replacing one with the same label and provider. Throws invalid:family.

      Parameters

      • family: CvmRegistryFamily

      Returns void

    • Choose the servers, or undefined to go back to the host's. Throws invalid:relay-url.

      Parameters

      • urls: readonly string[] | undefined

      Returns void