setTimeout
, , promises).setTimeout
and HTMLElement.prototype.onclick
. These interceptions can cause unexpected behaviour between external libraries and Angular. In some cases, it may be preferential to execute third party methods outside of Angular's zone (see below).onMicroTaskEmpty
has run, implying that all tasks have completed and change detection has occurred.