ae.sys.timing

Management of timed events.

Public Imports

core.time
public import core.time;
Undocumented in source.

Members

Classes

Timer
class Timer
Undocumented in source.
TimerTask
class TimerTask
Undocumented in source.

Functions

clearTimeout
void clearTimeout(TimerTask task)
Undocumented in source. Be warned that the author may not have intended to support it.
setInterval
TimerTask setInterval(void delegate(Args) handler, Duration delay, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
setTimeout
TimerTask setTimeout(void delegate(Args) handler, Duration delay, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
throttle
bool throttle(MonoTime last, Duration span)

Used to throttle actions to happen no more often than a certain period. If last was less that span ago, return false. Otherwise, update last to the current time and return true.

Structs

MonoTime
struct MonoTime

Prototype for core.time.MonoTime (TickDuration replacement). See https://github.com/D-Programming-Language/druntime/pull/711

Variables

mainTimer
Timer mainTimer;

The default timer

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Simon Arlott Vladimir Panteleev <vladimir@thecybershadow.net>