MCPcopy Index your code
hub / github.com/angular/angular / sync

Method sync

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

* Synchronizes the controlValue with the value signal immediately.

()

Source from the content-addressed store, hash-verified

405 * Synchronizes the {@link controlValue} with the {@link value} signal immediately.
406 */
407 private sync() {
408 this.value.set(this.controlValue());
409 }
410
411 /**
412 * 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