Cotal TypeScript packages
    Preparing search index...

    Function markRead

    • Adds messages to space's read marks and keeps the newest READ_MARKS. A lock holds the read and the write together, so two app runs on one space never drop each other's marks. An id longer than 128 characters throws, and nothing is written.

      Parameters

      • space: string
      • messages: readonly { id: string; ts: number }[]

      Returns void