Klotho (klotho v0.1.2)

A module that provides a interface to Erlang's time functions.

In production, all functions are proxied to the :erlang module directly.

In tests, the functions are proxied to Klotho.Mock, and the time "flow" can be controlled by calling Klotho.Mock functions.

Summary

Functions

Link to this function

cancel_timer(ref)

Link to this function

cancel_timer(ref, opts)

Link to this function

monotonic_time()

Link to this function

monotonic_time(unit)

Link to this function

read_timer(ref)

Link to this function

send_after(time, pid, message)

Link to this function

send_after(time, pid, message, opts)

Link to this function

set_backend(backend)

Link to this function

start_timer(time, pid, message)

Link to this function

start_timer(time, pid, message, opts)

Link to this function

system_time(unit)

Link to this function

time_offset(unit)