Timelines for OCaml's React module (obsolete, deprecated)
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Rtime — Timelines for OCaml React

Release %%VERSION%%

WARNING This module is deprecated and no longer maintained.

Rtime is an OCaml module implementing timelines for React. It manages time stamp events, delayed events and delayed signals along timelines. The client chooses the concrete timeline by providing an absolute notion of time. Running the timeline at the appropriate pace is left to the client.

Rtime is made of a single module and depends on React. It is distributed under the BSD3 license.

Home page: http://erratique.ch/software/rtime
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>


Rtime can be installed with opam:

opam install rtime

If you don't use opam consult the opam file for build instructions.


The documentation and API reference is automatically generated by ocamldoc from the interfaces. It can be consulted online and there is a generated version in the doc directory of the distribution.

Sample programs

If you installed Rtime with opam sample programs are located in the directory opam config var rtime:doc.

In the distribution sample programs are located in the test directory of the distribution. They can be built with:

ocamlbuild -use-ocamlfind test/tests.otarget

The resulting binaries are in _build/test:

  • test.native tests the library, nothing should fail. Note that it may fail in a heavily loaded environment or if the system's timers are not precise enough. You can adjust the tolerance to precision with -p, see test.native -help for more information.