Function: messageCursorKey()
Makaio Framework / contracts / messageCursorKey
Function: messageCursorKey()
Section titled “Function: messageCursorKey()”messageCursorKey(
cursor):string
Defined in: ../../../packages/contracts/src/session/message-cursor.ts:44
Encode a cursor into a stable string key for local Sets and Maps.
Parameters
Section titled “Parameters”cursor
Section titled “cursor”Cursor to encode
messageId
Section titled “messageId”string = ...
timestamp
Section titled “timestamp”number = ...
Returns
Section titled “Returns”string
Stable key suitable for local comparisons