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

Function getCurrentScope

src/apis/effectScope.ts:96–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96export function getCurrentScope() {
97 return activeEffectScope
98}
99
100export function onScopeDispose(fn: () => void) {
101 if (activeEffectScope) {

Callers 2

setupFunction · 0.90
getCurrentScopeVMFunction · 0.85

Calls

no outgoing calls

Tested by 1

setupFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…