Cotal TypeScript packages
    Preparing search index...

    Class ParticipantEngine

    Index
    • Release everything on close without acking: undelivered durable copies redeliver to the next reader of this lifecycle's durable, which, after retirement, is nobody.

      Returns void

    • The last display name of a sender this session received a DM, an anycast or a channel message from, by its exact principal. The principal came from the delivering subject, never from the payload.

      Parameters

      • id: string

      Returns string | undefined

    • Every sender this session received a DM, an anycast or a channel message from whose last display name is name, both sides trimmed and compared case-insensitively.

      Parameters

      • name: string

      Returns { id: string; name: string }[]

    • Commit after the caller has shown these deliveries. Unknown keys are ignored (already acked).

      Parameters

      • keys: readonly string[]

      Returns void