Reorderex v0.2.0-beta Reorderex.Clock View Source

Strictly monotonic clock.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Return strictly monotonic timestamp if a Clock genserver is given or Reorderex.Clock is started as module name. Returns OS time otherwise.

Starts the clock.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

next_tick(server \\ nil)

View Source

Return strictly monotonic timestamp if a Clock genserver is given or Reorderex.Clock is started as module name. Returns OS time otherwise.

Starts the clock.