Payloads
Type Parameters
Section titled “Type Parameters”E extends EditEnvelope
Properties
Section titled “Properties”CONFIRM
Section titled “CONFIRM”CONFIRM:
object
authority
Section titled “authority”
readonlyauthority:Authority
records
Section titled “records”
readonlyrecords: readonlyConfirmation<E>[]
ELECTION_OFFER
Section titled “ELECTION_OFFER”ELECTION_OFFER:
Offer
HANDOFF
Section titled “HANDOFF”HANDOFF:
object
authority
Section titled “authority”
readonlyauthority:Authority
branch
Section titled “branch”
readonlybranch:Branch
pending
Section titled “pending”
readonlypending: readonlyE[]
readonlystage:"prepare"|"commit"
successor
Section titled “successor”
readonlysuccessor:string
HAVE:
object& {handoffStage?:undefined;pending?:undefined; } | {handoffStage:"prepare"|"commit";pending: readonlyEditId[]; }
Type Declaration
Section titled “Type Declaration”
readonlyepoch:string
readonlytip:Checkpoint
HELLO:
object
branch
Section titled “branch”
readonlybranch:Branch
handoff?
Section titled “handoff?”
readonlyoptionalhandoff?:object
handoff.authority
Section titled “handoff.authority”
readonlyauthority:Authority
handoff.branch
Section titled “handoff.branch”
readonlybranch:Branch
handoff.pending
Section titled “handoff.pending”
readonlypending: readonlyE[]
handoff.stage
Section titled “handoff.stage”
readonlystage:"prepare"|"commit"
handoff.successor
Section titled “handoff.successor”
readonlysuccessor:string
members
Section titled “members”
readonlymembers: readonlystring[]
readonlyterm:number
HISTORY_CHUNK
Section titled “HISTORY_CHUNK”HISTORY_CHUNK:
object
readonlycount:number
readonlyfrom:Checkpoint
readonlyindex:number
records
Section titled “records”
readonlyrecords: readonlyConfirmation<E>[]
readonlytip:Checkpoint
HISTORY_REQUEST
Section titled “HISTORY_REQUEST”HISTORY_REQUEST:
object
readonlyfrom:Checkpoint
readonlyindex:number
readonlytip:Checkpoint
HOST_CLAIM
Section titled “HOST_CLAIM”HOST_CLAIM:
Commit<E>
HOST_PULSE
Section titled “HOST_PULSE”HOST_PULSE:
object
branch
Section titled “branch”
readonlybranch:Branch
handoff?
Section titled “handoff?”
readonlyoptionalhandoff?:object
handoff.authority
Section titled “handoff.authority”
readonlyauthority:Authority
handoff.branch
Section titled “handoff.branch”
readonlybranch:Branch
handoff.pending
Section titled “handoff.pending”
readonlypending: readonlyE[]
handoff.stage
Section titled “handoff.stage”
readonlystage:"prepare"|"commit"
handoff.successor
Section titled “handoff.successor”
readonlysuccessor:string
members
Section titled “members”
readonlymembers: readonlystring[]
LEAVE:
object
successor
Section titled “successor”
readonlysuccessor:string|null
PRESENCE
Section titled “PRESENCE”PRESENCE:
object
readonlyclock:number
readonlystate:unknown
RECONCILE_COMMIT
Section titled “RECONCILE_COMMIT”RECONCILE_COMMIT:
Commit<E>
RECONCILE_OFFER
Section titled “RECONCILE_OFFER”RECONCILE_OFFER:
Offer
SUBMIT
Section titled “SUBMIT”SUBMIT:
object
authority
Section titled “authority”
readonlyauthority:Authority
readonlyedits: readonlyE[]