Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
96
export
function
getCurrentScope() {
97
return
activeEffectScope
98
}
99
100
export
function
onScopeDispose(fn: () => void) {
101
if
(activeEffectScope) {
Callers
2
setup
Function · 0.90
getCurrentScopeVM
Function · 0.85
Calls
no outgoing calls
Tested by
1
setup
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…