Skip to Content

markAnumaRead

markAnumaRead(store: ChatStore, sortKey: number, options: object): Promise<ChatSnapshot>

Defined in: src/lib/chatStore/anuma.ts:75 

Moves the read marker up to sortKey; it never moves down, and a concurrent write is re-read and re-applied.

Parameters

ParameterType

store

ChatStore

sortKey

number

options

object

options.now?

() => number

options.signal?

AbortSignal

Returns

Promise<ChatSnapshot>

Last updated on