OptionalappendPersists new dense entries before a delta frame is made replayable.
OptionaldiscardInternalRemoves a local prefix without representing it as a server ACK. Persistent stores should provide this when recovery can abandon frames.
"Without representing it as a server ACK" is about the transport's public
watermark, which the caller leaves alone. The removal itself must be as
durable as acknowledgeThrough's: a discarded prefix that a later load()
can still see is a prefix this client reported abandoned and then sent
anyway.
OptionalloadOpens and validates the journal without materializing every payload.
Implementations that provide this must also provide readPayload.
OptionalloadLoads the durable, dense symbol prefix used by persisted delta frames.
OptionalprepareInternalWaits until every payload in one logical batch can be appended without an ACK between frames. Implementations must not mutate the journal.
OptionalreadReads one previously loaded durable payload on demand.
OptionalreplaceAtomically replaces an unusable dictionary after surviving committed frames prove that its complete ID space can be reconstructed.
Browser-safe abstraction; Node supplies a persistent filesystem implementation.