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

Function run

packages/reactivity/src/dep.ts:309–324  ·  view source on GitHub ↗
(dep: Dep | undefined)

Source from the content-addressed store, hash-verified

307 }
308
309 const run = (dep: Dep | undefined) => {
310 if (dep) {
311 if (__DEV__) {
312 dep.trigger({
313 target,
314 type,
315 key,
316 newValue,
317 oldValue,
318 oldTarget,
319 })
320 } else {
321 dep.trigger()
322 }
323 }
324 }
325
326 startBatch()
327

Callers 2

triggerFunction · 0.70
effect.spec.tsFile · 0.50

Calls 1

triggerMethod · 0.45

Tested by

no test coverage detected