MCPcopy Create free account
hub / github.com/angular/angular / sync

Method sync

packages/forms/signals/src/field/node.ts:412–414  ·  view source on GitHub ↗

* Synchronizes the controlValue with the value signal immediately.

()

Source from the content-addressed store, hash-verified

410 * Synchronizes the {@link controlValue} with the {@link value} signal immediately.
411 */
412 private sync() {
413 this.value.set(this.controlValue());
414 }
415
416 /**
417 * If there is a pending sync, abort it and sync immediately.

Callers 2

flushSyncMethod · 0.95
debounceSyncMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected