Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

portal: do not pause between event bus ticks, only $apply when needed #27

Closed
x1B opened this issue Jul 3, 2014 · 1 comment
Closed

Comments

@x1B
Copy link
Member

x1B commented Jul 3, 2014

Currently, the portal uses $timeout as the nextTick implementation for the event bus. This causes a full AngularJS digest-cycle after each tick, and also lets (most) browsers think that they should do a repaint.

Instead, all ticks should occur directly in a row, followed by a $digest cycle. If new events were produces during the cycle, the process repeats.

@x1B x1B added the enhancement label Jul 3, 2014
x1B added a commit that referenced this issue Jul 3, 2014
x1B added a commit that referenced this issue Jul 3, 2014
x1B added a commit that referenced this issue Jul 3, 2014
x1B added a commit that referenced this issue Jul 3, 2014
* feature/27-no-pause-between-event-bus-ticks-rebase:
  (#27) Changelog
  (#27) do not pause for ticks
@x1B
Copy link
Member Author

x1B commented Jul 3, 2014

Implemented on master, expected for v0.10.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants