toClientEncoded
consttoClientEncoded: (event) =>object
Defined in: packages/@livestore/common/dist/schema/LiveStoreEvent/global.d.ts:28
Converts a Global event to Client format by expanding integer seqNums to composite form.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”object
args:
any
clientId
Section titled “clientId”clientId:
string
name:
string
parentSeqNum
Section titled “parentSeqNum”parentSeqNum:
Composite
seqNum
Section titled “seqNum”seqNum:
Composite
sessionId
Section titled “sessionId”sessionId:
string