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

Method trigger

packages/reactivity/src/effect.ts:206–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 }
205
206 trigger(): void {
207 if (this.flags & EffectFlags.PAUSED) {
208 pausedQueueEffects.add(this)
209 } else if (this.scheduler) {
210 this.scheduler()
211 } else {
212 this.runIfDirty()
213 }
214 }
215
216 /**
217 * @internal

Callers 2

resumeMethod · 0.95
endBatchFunction · 0.45

Calls 1

runIfDirtyMethod · 0.95

Tested by

no test coverage detected