Type alias ProposalResult<T>
ProposalResult<T>: { status: "kept"; ledgerId: string; result: T; } | { status: "written"; result: T; } | { status: "rejected"; reason: "frozen" | "forgotten" | "write_failed" | "conflict" | "store_unavailable"; ledgerId?: string; error?: unknown; } Type declaration
status: "kept"
ledgerId: string
result: T
Type declaration
status: "written"
result: T
Type declaration
status: "rejected"
reason: "frozen" | "forgotten" | "write_failed" | "conflict" | "store_unavailable"
Optional ledgerId?: string
Optional error?: unknown
What a recorded memory write came to:
keptwith its ledger row;writtenwith no ledger row (modeoffor a suspension); orrejected, with the reason and, where one was written, the candidate's row.