Field Notes
    Preparing search index...

    Class RemoteStrokeOverlay

    Draws remote peers' in-progress strokes on the overlay stratum, keyed by sender and stroke id. A preview stays until the committed stroke with its id enters the store, it goes stale, the sender clears it, or remove() runs (wire that to presence-leave), so the committed stroke replaces it without a gap.

    Index
    • Applies a presence payload from sender. Non-stroke or malformed payloads are ignored and reported as false, so hosts can feed every presence frame through.

      Parameters

      • sender: string
      • data: unknown

      Returns boolean