Skip to main content

Module op

Module op 

Source
Expand description

JS→Bevy mutation ops: the Op batch the reconciler flushes per commit, plus OpBatch’s decode-warning attribution wrapper.

Structs§

OpBatch
A Vec<Op> whose Deserialize brackets each element’s decode with the [crate::diag] decode sink’s watermarks, stamping every warning a field deserializer pushed with the op’s target node id — the id is structurally out of scope down in the field visitors, but trivially known per op here. The wire format is exactly a plain op array; in release builds the bracketing calls are inline no-ops and this decodes like a bare Vec<Op>.

Enums§

Op
A single mutation produced by the React reconciler during a commit. The reconciler batches a Vec<Op> per commit and flushes it across the boundary in one call.