MAIDR JavaScript API
    Preparing search index...

    What a frame's connection does when the handoff asks it to.

    interface HandoffHolder {
        release: () => Promise<void> | null;
        retake: () => void;
    }
    Index

    Properties

    Properties

    release: () => Promise<void> | null

    Lets the display go for another frame: the connection is marked closed at once, and the device itself closed behind whatever is already queued for it.

    The pins are left as they are: the frame that asked is about to draw.

    Type Declaration

      • (): Promise<void> | null
      • Returns Promise<void> | null

        Resolves once the device is closed, or null when this frame holds no display

    retake: () => void

    Takes the display up again, given back by a frame that asked for it and then could not open it.