Cotal TypeScript packages
    Preparing search index...

    Interface DeliveryLane

    A delivery lane, with the native bindings of its data-account connections.

    interface DeliveryLane {
        lost: Promise<string>;
        space: string;
        close(): Promise<void>;
        nativeConnections(): DeliveryNativeConnection[];
    }

    Hierarchy (View Summary)

    Index
    lost: Promise<string>

    Settles with what this lane lost once it stops serving, by close or by a loss. It never rejects: a holder distinguishes the two by whether it asked for the close.

    space: string
    • Stop serving and release everything the lane holds. Safe to call more than once. A rejection says the lane may still serve: the host then acknowledges nothing until a later close resolves.

      Returns Promise<void>