Clock
Namespace: Freckle
Parent Module: Clock
Clock is used to generate the current time
Functions and values
Function or value | Description |
alwaysAt ticks
Signature: ticks:Time -> Clock
|
A clock that always return the same time, mainly for testing purposes
|
now arg1
Signature: Clock -> Async<Time>
|
Get the current time
|
synchronized arg1
Signature: Clock -> Clock
|
Generates a clock guaranteed to always be sequential.
This is accomplished by the fact that if the time generated is the same as last then the time will be incremented by 10μs
|
systemUtc
Signature: Clock
|
A system clock, is recommended to just always use this
|