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

OnTimerEvent #4

Open
hampusborgos opened this issue Aug 4, 2012 · 0 comments
Open

OnTimerEvent #4

hampusborgos opened this issue Aug 4, 2012 · 0 comments

Comments

@hampusborgos
Copy link
Member

An OnTimerEvent should be implemented that allows you to schedule timers, both repeating and non-repeating.

Proposed solution: Add a new queue to ScriptManager with <microtime, Listener_ptr>, check this at the same time as timer event and dispatch any that have run out. Register function should be registerTimerEvent(1000, handler [, repeating]).

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

1 participant