Mercurial > gui
view timer.ur @ 23:7c734edc6301
Merge from Adam.
author | Karn Kallio <kkallio@eka> |
---|---|
date | Sat, 24 Sep 2011 18:55:27 -0430 |
parents | 37eefd0a2ed4 |
children |
line wrap: on
line source
type t = source bool fun create r = b <- source False; spawn (sleep r.Milliseconds; b <- get b; if b then return () else r.Action); return b fun cancel b = set b True