gleam/os
Function to interact with the host operating system.
Types
TimeUnit
pub type TimeUnit { Second Millisecond Microsecond Nanosecond }
Constructors
-
Second
-
Millisecond
-
Microsecond
-
Nanosecond
Functions
system_time
pub external fn system_time(TimeUnit) -> Int
Return the current OS system time.
https://erlang.org/doc/apps/erts/time_correction.html#OS_System_Time