Last active
July 31, 2017 12:28
-
-
Save tsvetomir/d7aa7ae181db94cefabf790356105c78 to your computer and use it in GitHub Desktop.
runOutsideZone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const symbol = Zone["__symbol__"]("setTimeout") | |
const plainTimeout = window[symbol]; | |
export const runOutsideZone = | |
(fn, delay) => plainTimeout(fn, delay); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment