Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Scope.runAsync should handle all the microtasks #920

Open
@jbdeboer

Description

@jbdeboer

There is a bad interaction between NgZone and Scope, where if Scope.digest created a microtask, NgZone will run it and then force a brand-new Scope.digest run.

This causes too mach Scope.digests and can lead to infinite loops.

The best approach we have so far is to have Scope handle all the microtasks in its runAsync queue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions