Zone.js-safe wrapper for setTimeout.
setTimeout
Looks up the original setTimeout via getZoneJsOriginalValue to bypass any Zone.js patch, preventing the resource-exhaustion issues that Zone.js-patched timers can cause.
getZoneJsOriginalValue
Function to invoke after delay milliseconds.
delay
Optional
Delay in milliseconds (defaults to 0).
A TimeoutId that can be passed to clearTimeout.
Zone.js-safe wrapper for
setTimeout.Looks up the original
setTimeoutviagetZoneJsOriginalValueto bypass any Zone.js patch, preventing the resource-exhaustion issues that Zone.js-patched timers can cause.