MCPcopy
hub / github.com/final-form/final-form / callback

Function callback

src/FinalForm.ts:980–987  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

978 const isAsync = fieldConfig && fieldConfig.async;
979 const notify = () => {
980 const callback = () => {
981 if (silent && state.fields[name as string]) {
982 notifyFieldListeners(name as string);
983 } else {
984 notifyFormListeners();
985 notifyFieldListeners(undefined);
986 }
987 };
988 executeCallback(callback, !!isAsync);
989 };
990 if (fieldConfig) {

Callers 5

scheduleAsyncCallbacksFunction · 0.85
executeCallbackFunction · 0.85
runValidationFunction · 0.85
afterPromiseFunction · 0.85

Calls 2

notifyFieldListenersFunction · 0.85
notifyFormListenersFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…