Skip to content

WatchCallback

katanakit-js / WatchCallback

type WatchCallback<V, OV> = VueWatchCallback<V, OV>;

Defined in: types/adapters/vue.ts:19

Watch callback taken from the native Vue watch. Any internal function is accepted: sync or async, with (newValue, oldValue) args or with no args at all (e.g. () => checkValidations()).

Type Parameter Default type
V unknown
OV unknown