Mercurial > gui
view clock.urs @ 27:5905b56e0cd9
Adapt to new HTML contexts
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 20 Dec 2011 21:04:21 -0500 |
parents | 0337f88f2efc |
children |
line wrap: on
line source
(** Reactive view of the current time *) type t val create : int -> transaction t (* Specify the clock resolution, in milliseconds. *) val start : t -> transaction {} (* Call this in client-side code (e.g., 'onload' handler) to begin. *) val signal : t -> signal time