pub fn now(io: Io, clock: Clock) Clock.Timestamp
This function is not cancelable because it does not block.
Resolution is determined by resolution which may be 0 if the clock is unsupported.
resolution
See also:
Clock.now
io: Io
clock: Clock
913 914 915 916 917 918
pub fn now(io: Io, clock: Clock) Clock.Timestamp { return .{ .raw = io.vtable.now(io.userdata, clock), .clock = clock, }; }
This function is not cancelable because it does not block.
Resolution is determined by
resolutionwhich may be 0 if the clock is unsupported.See also:
Clock.now