aduros / flambe

Rapidly cook up games for HTML5, Flash, Android, and iOS.
https://github.com/aduros/flambe/wiki
MIT License
745 stars 118 forks source link

Signal priority #363

Closed Misiur closed 8 years ago

Misiur commented 8 years ago

Is there a way to make listener moved to the top of listener stack? Some kind of priority queue? I need to stop propagation on certain event, however it's dynamically added, and lands as one of the last to be executed.

markknol commented 8 years ago

Every connect function has a prioritize parameter. It will execute faster than normal signal connections.

Misiur commented 8 years ago

Missed that, thanks!

markknol commented 8 years ago

No problem!