MCPcopy
hub / github.com/vuejs/composition-api / getWatcherOption

Function getWatcherOption

src/apis/watch.ts:92–101  ·  view source on GitHub ↗
(options?: Partial<WatchOptions>)

Source from the content-addressed store, hash-verified

90}
91
92function getWatcherOption(options?: Partial<WatchOptions>): WatchOptions {
93 return {
94 ...{
95 immediate: false,
96 deep: false,
97 flush: 'pre',
98 },
99 ...options,
100 }
101}
102
103function getWatchEffectOption(options?: Partial<WatchOptions>): WatchOptions {
104 return {

Callers 1

watchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…