MergeContext
Defined in: packages/@livestore/common/dist/sync/syncstate.d.ts:110
Only used for debugging purposes
Extends
Section titled “Extends”MergeContext_base
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MergeContext(…
args):MergeContext
Defined in: node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Schema.d.ts:8372
Parameters
Section titled “Parameters”…[ReadonlyMakeIn<{ payload: Union<readonly [TaggedStruct<"upstream-rebase", { newEvents: $Array<typeof EncodedWithMeta>; rollbackEvents: $Array<typeof EncodedWithMeta>; }>, TaggedStruct<"upstream-advance", { newEvents: $Array<typeof EncodedWithMeta>; }>, TaggedStruct<"local-push", { newEvents: $Array<typeof EncodedWithMeta>; }>]>; syncState: typeof SyncState; }>, MakeOptions]
Returns
Section titled “Returns”MergeContext
Inherited from
Section titled “Inherited from”MergeContext_base.constructor
Properties
Section titled “Properties”payload
Section titled “payload”
readonlypayload:ReadonlySide<{newEvents:$Array<typeofEncodedWithMeta>;rollbackEvents:$Array<typeofEncodedWithMeta>; },"Type"> |ReadonlySide<{newEvents:$Array<typeofEncodedWithMeta>; },"Type"> |ReadonlySide<{newEvents:$Array<typeofEncodedWithMeta>; },"Type">
Defined in: packages/@livestore/common/dist/sync/syncstate.d.ts:97
Inherited from
Section titled “Inherited from”MergeContext_base.payload
syncState
Section titled “syncState”
readonlysyncState:SyncState
Defined in: packages/@livestore/common/dist/sync/syncstate.d.ts:107
Inherited from
Section titled “Inherited from”MergeContext_base.syncState
toJSON()
Section titled “toJSON()”toJSON: () =>
any
Defined in: packages/@livestore/common/dist/sync/syncstate.d.ts:111
Returns
Section titled “Returns”any