MCPcopy
hub / github.com/vuejs/core / watchPostEffect

Function watchPostEffect

packages/runtime-core/src/apiWatch.ts:63–74  ·  view source on GitHub ↗
(
  effect: WatchEffect,
  options?: DebuggerOptions,
)

Source from the content-addressed store, hash-verified

61}
62
63export function watchPostEffect(
64 effect: WatchEffect,
65 options?: DebuggerOptions,
66): WatchHandle {
67 return doWatch(
68 effect,
69 null,
70 __DEV__
71 ? extend({}, options as WatchEffectOptions, { flush: 'post' })
72 : { flush: 'post' },
73 )
74}
75
76export function watchSyncEffect(
77 effect: WatchEffect,

Callers 1

setupFunction · 0.85

Calls 1

doWatchFunction · 0.85

Tested by 1

setupFunction · 0.68