KissNativeTimer

Constructors

this
this()
Undocumented in source.
this
this(size_t interval)
Undocumented in source.
this
this(Duration duration)
Undocumented in source.

Members

Functions

reset
void reset(bool immediately, bool once)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(bool immediately, bool once)

immediately: true to call first event immediately once: true to call timed event only once

stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_handle
HANDLE _handle;
Undocumented in source.

Inherited Members

From AbstractNativeTimer

_isActive
bool _isActive;
Undocumented in source.
_interval
size_t _interval;
Undocumented in source.
ticked
TickedEventHandler ticked;

Timer tick handler

isActive
bool isActive [@property getter]
interval
size_t interval [@property getter]
size_t interval [@property setter]
Duration interval [@property setter]

in ms

onTick
ITimer onTick(TickedEventHandler handler)

The handler will be handled in another thread.

start
void start(bool immediately, bool once)

immediately: true to call first event immediately once: true to call timed event only once

start
void start(uint interval)
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source.
reset
void reset(bool immediately, bool once)
Undocumented in source.
reset
void reset(size_t interval)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset(Duration duration)
Undocumented in source. Be warned that the author may not have intended to support it.
onTick
void onTick()
Undocumented in source. Be warned that the author may not have intended to support it.

See Also

Meta