view clock.urs @ 22:4362b15220e4

Comment corrections based on code review.
author Karn Kallio <kkallio@eka>
date Mon, 22 Aug 2011 05:06:15 -0430
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