encodeOutgoingMessage
const
encodeOutgoingMessage: (a
,overrideOptions?
) =>string
Defined in: packages/@livestore/sync-cf/src/cf-worker/shared.ts:53
Parameters
Section titled “Parameters”{ backendId
: string
; batch
: readonly object
[]; pageInfo
: { _tag
: "MoreUnknown"
; } | { _tag
: "MoreKnown"
; remaining
: number
; } | { _tag
: "NoMore"
; }; } | { } | { _tag
: "SyncMessage.Pong"
; } | { _tag
: "SyncMessage.AdminResetRoomResponse"
; } | { _tag
: "SyncMessage.AdminInfoResponse"
; info
: { durableObjectId
: string
; }; }
overrideOptions?
Section titled “overrideOptions?”ParseOptions
Returns
Section titled “Returns”string