@@ -36,9 +36,9 @@ Elm.Native.Time.make = function(elm) {
3636
3737 function everyWhen(t, isOn) {
3838 var clock = Signal.constant(Date.now());
39− var id = setInterval(function tellTime() {
40− if (!elm.notify(clock.id, Date.now())) {
41− clearInterval(id);
39+ var id = elm.runDelayed(function tellTime() {
40+ if (elm.notify(clock.id, Date.now())) {
41+ elm.runDelayed(tellTime, t);
4242 }
4343 }, t);
4444 return clock;