Joken.CurrentTime behaviour (Joken v2.4.0) View Source
Behaviour for fetching current time.
Link to this section Summary
Callbacks
Returns the current time in seconds.
Link to this section Callbacks
Specs
current_time() :: pos_integer()
Returns the current time in seconds.
This is used for applications that want to control time for testing.