65 static constexpr std::uint32_t STORAGE_SCHEMA_VERSION = 3;
71 std::uint64_t sequence() const noexcept;
72 const std::
string& bundle_id() const noexcept;
73 std::uint64_t command_ordinal() const noexcept;
75 std::optional<std::
string> effect_identity() const;
76 std::optional<json> terminal_result() const;
77 std::optional<json> settled_members() const;
78 std::optional<json> await_started_at() const;
79 bool pending() const noexcept;
80 bool completed() const noexcept;
82 const std::
string& coordinate_id() const noexcept;
84 const std::
string&
id() const noexcept;
85 std::
string serialize_canonical() const;
90 std::shared_ptr<const Impl> impl_;
Immutable, content-addressed command-journal value.
One append-only journal entry for one yielded JavaScript command.
std::optional< json > terminal_result
Null for a durable pending head; present for an authoritative result.
std::optional< json > settled_members
Pending entries only: the members of a paused join that already settled, as an object from member ope...
std::optional< json > await_started_at
Pending entries only (#391): when each ng.await with a timeout in this command started,...