updateField<T> abstract method
void
updateField<T>(
- ElementId nodeId,
- CanvasFieldKey fieldKey,
- T update(
- T currentCanonicalValue
Updates a registered field from its current canonical value.
update receives the value read from the latest canonical base scene,
including the latest in-flight transaction state. It never starts from
the value returned by getField.
Missing, stale, wrong-kind, or source-document-denied targets are ignored
without invoking update.
Implementation
void updateField<T>(
rt.ElementId nodeId,
rt.CanvasFieldKey fieldKey,
T Function(T currentCanonicalValue) update,
);