Lace JavaScript API
    Preparing search index...

    Interface OpenInterlace

    interface OpenInterlace {
        incomingEncoding: string;
        outgoingEncoding: string;
        peerBy: string;
        peerPort: string;
        "[asyncIterator]"(): AsyncIterator<OpenEvent, any, any>;
        close(): Promise<void>;
        nextEvent(): Promise<OpenEvent>;
        replacePolicy(nextPolicy: PolicyInput): void;
        runUntilFixedPoint(): Promise<OpenBoundaryOutcome>;
    }

    Hierarchy

    Index
    incomingEncoding: string

    The 065 token of the peer-to-local stream encoding, as outgoingEncoding.

    outgoingEncoding: string

    The 065 token of the local-to-peer stream encoding the latest preface pair selected; null before the first peer preface or on a direct route. Each peer preface selects again; retained after close. A diagnostic.

    peerBy: string

    The By the live peer proved in the latest session under confidential-channel or channel-bound assurance; null without a validated proof or on a direct route. Cleared at a re-preface cut and retained after close. A diagnostic, not authority.

    peerPort: string

    The port the peer's latest preface named; null when it named none or on a direct route.

    • Returns AsyncIterator<OpenEvent, any, any>

    • Returns Promise<void>

    • Throws policy on a selector operation.

      Parameters

      Returns void