Created
February 20, 2020 11:50
-
-
Save ArtemRomanovsky/77ad353c2dc9f5907a97f1bf8a881432 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Zone.current | |
| .fork({ | |
| afterTask() { | |
| // do something after leaving zone | |
| } | |
| }) | |
| .run(() => { | |
| // do something async | |
| setTimeout(() => ...) | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment