MCPcopy Index your code
hub / github.com/angular/angular / patchQueueMicrotask

Function patchQueueMicrotask

packages/zone.js/lib/common/queue-microtask.ts:13–19  ·  view source on GitHub ↗
(global: any, api: _ZonePrivate)

Source from the content-addressed store, hash-verified

11 */
12
13export function patchQueueMicrotask(global: any, api: _ZonePrivate) {
14 api.patchMethod(global, 'queueMicrotask', (delegate) => {
15 return function (self: any, args: any[]) {
16 Zone.current.scheduleMicroTask('queueMicrotask', args[0]);
17 };
18 });
19}

Callers 2

patchBrowserFunction · 0.90
patchNodeFunction · 0.90

Calls 1

scheduleMicroTaskMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…