View Source Joken.CurrentTime behaviour (Joken v2.6.2)

Behaviour for fetching current time.

Summary

Callbacks

Returns the current time in seconds.

Callbacks

@callback current_time() :: pos_integer()

Returns the current time in seconds.

This is used for applications that want to control time for testing.