Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

change JavaScript cycle to browser event loop #710

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class HeavyLoaderComponent {
}

// Triggers the next round of Angular change detection
// after one turn of the JavaScript cycle
// after one turn of the browser event loop
// ensuring display of msg added in onDestroy
private _tick() { setTimeout(() => { }, 0); }
}
Expand Down