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

Function wrapWithCurrentZone

packages/zone.js/lib/common/utils.ts:44–46  ·  view source on GitHub ↗
(callback: T, source: string)

Source from the content-addressed store, hash-verified

42export const ZONE_SYMBOL_PREFIX = __symbol__('');
43
44export function wrapWithCurrentZone<T extends Function>(callback: T, source: string): T {
45 return Zone.current.wrap(callback, source);
46}
47
48export function scheduleMacroTaskWithCurrentZone(
49 source: string,

Callers 2

bindArgumentsFunction · 0.85
patchClassFunction · 0.85

Calls 1

wrapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…