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

Function effectScope

packages/reactivity/src/effectScope.ts:203–205  ·  view source on GitHub ↗
(detached?: boolean)

Source from the content-addressed store, hash-verified

201 * @see {@link https://vuejs.org/api/reactivity-advanced.html#effectscope}
202 */
203export function effectScope(detached?: boolean): EffectScope {
204 return new EffectScope(detached)
205}
206
207/**
208 * Returns the current active effect scope if there is one.

Callers 5

handleBeginFunction · 0.90
setupFunction · 0.90
apiWatch.spec.tsFile · 0.90
setupFunction · 0.85

Calls

no outgoing calls

Tested by 3

handleBeginFunction · 0.72
setupFunction · 0.72
setupFunction · 0.68