Skip to content

Multiple zone callbacks (phase 1)#4822

Merged
yjbanov merged 2 commits intoangular:masterfrom
yjbanov:multiple-zone-callbacks
Oct 21, 2015
Merged

Multiple zone callbacks (phase 1)#4822
yjbanov merged 2 commits intoangular:masterfrom
yjbanov:multiple-zone-callbacks

Conversation

@yjbanov
Copy link
Copy Markdown
Contributor

@yjbanov yjbanov commented Oct 20, 2015

  • introduce NgZone event Streams/Observables to allow multiple subscribers
  • deprecate old override methods

fixes #4535

Phase 2 is to clean up usages of deprecated API and delete it.

@yjbanov yjbanov force-pushed the multiple-zone-callbacks branch from 2ae56ed to 9cd5712 Compare October 20, 2015 04:58
@yjbanov yjbanov added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 20, 2015
@yjbanov
Copy link
Copy Markdown
Contributor Author

yjbanov commented Oct 20, 2015

/cc @mhevery: this PR contains public API change; need your approval

@mhevery mhevery added pr_state: LGTM and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 20, 2015
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this better?
after Angular zone -> after the Angular zone

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@TedSander
Copy link
Copy Markdown
Contributor

Mostly looks good. Just a couple of questions, and doc cleanup stuff.

@yjbanov yjbanov force-pushed the multiple-zone-callbacks branch from aeddffc to 5a0d811 Compare October 21, 2015 04:46
BREAKING CHANGES:
- deprecates these methods in NgZone: overrideOnTurnStart, overrideOnTurnDone, overrideOnEventDone, overrideOnErrorHandler
- introduces new API in NgZone that may shadow other API used by existing applications.
@yjbanov yjbanov force-pushed the multiple-zone-callbacks branch from 5a0d811 to 491e1fd Compare October 21, 2015 04:51
@yjbanov yjbanov merged commit 491e1fd into angular:master Oct 21, 2015
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow multiple callback overrides in NgZone

4 participants