Mercurial > irccd
view tests/js-timer/timer-pending.js @ 521:e03521cf207b
Common: split util.hpp into more appropriate files, closes #721
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 27 Oct 2017 21:45:32 +0200 |
parents | 6635b9187d71 |
children | fd96de07657a |
line wrap: on
line source
count = 0; function onLoad() { t = new Irccd.Timer(Irccd.Timer.Repeat, 500, function () { count += 1; }); t.start(); /* Force the plugin to wait so that timer push some events in the irccd's queue */ Irccd.System.sleep(3); t.stop(); }