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

Function job

packages/runtime-core/__tests__/scheduler.spec.ts:584–589  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

582 test('should prevent self-triggering jobs by default', async () => {
583 let count = 0
584 const job = () => {
585 if (count < 3) {
586 count++
587 queueJob(job)
588 }
589 }
590 queueJob(job)
591 await nextTick()
592 // only runs once - a job cannot queue itself

Callers

nothing calls this directly

Calls 2

queueJobFunction · 0.90
flushPreFlushCbsFunction · 0.90

Tested by

no test coverage detected