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