Field Notes
    Preparing search index...

    Class LingerOverlay<T>

    Per-sender presence entries with a hold-then-fade lifetime, rendered through the viewport overlay registration and independent of the viewer's active tool. Entries are stamped with local time (remote clocks are never trusted). linger holds the final entry for holdMs, fades it over fadeMs, and deletes it; remove deletes immediately. An active entry not updated for maxAgeMs is lingered by a timer — an idle map never renders, so expiry cannot ride on the draw path. The overlay never touches elements, history, or persisted state, and never moves the viewer's camera.

    Internal to @fieldnotes/core: not exported from src/index.ts.

    Type Parameters

    • T
    Index
    • Stores sender's current entry as active, replacing any previous one and cancelling an in-flight linger, and restarts the maxAgeMs expiry timer.

      Parameters

      • sender: string
      • entry: T

      Returns void