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

OnTimerEvent #4

Description

@hampusborgos

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]).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions