MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / apply_hot_op

Method apply_hot_op

document/document-format/src/persist.rs:113–117  ·  view source on GitHub ↗

Apply a hot op from the broadcast stream, appending one frame to the hot log. # Errors Returns [`Error::Crdt`] if the op is rejected by the session, or an [`Error::Container`] / [`Error::Codec`] if persisting the hot frame fails. On a persist failure the session has already advanced past what the working copy reflects, so the caller should treat the document as needing re-persist (mirrors [`stage

(&mut self, op: HotOp)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 2

append_hot_frameMethod · 0.80
cloneMethod · 0.45