Skip to content

refactor(core): Invert the application<->scheduler dependency #52977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Nov 16, 2023

This commit inverts the dependency between the application and the scheduler. The application depends on the scheduling mechanism to trigger view refreshes rather than the other way around. This allows us to share the scheduling flush notification between ComponentFixture code and ApplicationRef.

@atscott atscott added the area: core Issues related to the framework runtime label Nov 16, 2023
@ngbot ngbot bot added this to the Backlog milestone Nov 16, 2023
@atscott atscott added the action: global presubmit The PR is in need of a google3 global presubmit label Nov 16, 2023
@atscott atscott force-pushed the invertSchedulerDependency branch 3 times, most recently from afd1832 to 2fd5264 Compare November 16, 2023 21:59
@atscott atscott force-pushed the invertSchedulerDependency branch from 2fd5264 to 39c8cf5 Compare November 16, 2023 22:11
@atscott atscott force-pushed the invertSchedulerDependency branch from 39c8cf5 to fb71ddc Compare November 20, 2023 18:37
This commit inverts the dependency between the application and the
scheduler. The application depends on the scheduling mechanism to
trigger view refreshes rather than the other way around. This allows us
to share the scheduling flush notification between `ComponentFixture`
code and `ApplicationRef`.
@atscott atscott force-pushed the invertSchedulerDependency branch from fb71ddc to 4afed15 Compare November 20, 2023 18:37
@atscott atscott closed this Dec 7, 2023
@angular-automatic-lock-bot
Copy link

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 Jan 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: global presubmit The PR is in need of a google3 global presubmit area: core Issues related to the framework runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants