RefreshReason
RefreshReason =
DebugRefreshReasonBase| {_tag:"commit";events:ReadonlyArray<AnyDecoded|PartialAnyDecoded>;writeTables:ReadonlyArray<string>; } | {_tag:"react";api:string;label?:string;stackInfo?:StackInfo; } | {_tag:"subscribe.initial";label?:string; } | {_tag:"subscribe.update";label?:string; } | {_tag:"manual";label?:string; }
Defined in: packages/@livestore/livestore/src/store/store-types.ts:76
Type Declaration
Section titled “Type Declaration”DebugRefreshReasonBase
{ _tag: "commit"; events: ReadonlyArray<AnyDecoded | PartialAnyDecoded>; writeTables: ReadonlyArray<string>; }
_tag:
"commit"
events
Section titled “events”events:
ReadonlyArray<AnyDecoded|PartialAnyDecoded>
The events that were applied
writeTables
Section titled “writeTables”writeTables:
ReadonlyArray<string>
The tables that were written to by the event
{ _tag: "react"; api: string; label?: string; stackInfo?: StackInfo; }
_tag:
"react"
api:
string
label?
Section titled “label?”
optionallabel:string
stackInfo?
Section titled “stackInfo?”
optionalstackInfo:StackInfo
{ _tag: "subscribe.initial"; label?: string; }
_tag:
"subscribe.initial"
label?
Section titled “label?”
optionallabel:string
{ _tag: "subscribe.update"; label?: string; }
_tag:
"subscribe.update"
label?
Section titled “label?”
optionallabel:string
{ _tag: "manual"; label?: string; }
_tag:
"manual"
label?
Section titled “label?”
optionallabel:string