view clock.urs @ 31:b5432d74841a

Update for key/mouse handler change
author Adam Chlipala <adam@chlipala.net>
date Sat, 21 Jul 2012 10:15:14 -0400
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