Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12122] Prioritize events

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsCore
Labelsn/a
ReporterRick Blalock
AssigneeUnknown
Created2012-12-18T18:42:25.000+0000
Updated2018-02-28T20:03:45.000+0000

Description

We need the ability to prioritize events in the event queue. I've ran in to numerous occasions where the event queue would block critical user actions because of other events running that were less important. For instance, I'd like to always make sure the orientation event is priority over any other event in the queue.

Comments

  1. Rick Blalock 2012-12-18

    A similar use case: http://www.sencha.com/blog/the-making-of-fastbook-an-html5-love-story "We then added the AnimationQueue, a new class that's responsible for all animations and events, as well as scheduling heavy tasks for later execution during the CPU's idle time. It acts as the framework's traffic cop, prioritizing different operations and helps ensure the application stays responsive. When an app is animating, it suspends lower priority functions. When the app is idle, the AnimationQueue executes the suspended tasks."

JSON Source