I’d like to move code from the
oclock library to
mtime - both provide access to a monotonic clock with
mtime being quite a bit more abstract. I’m struggling to create in
mtime a time span of a given length. The
Mtime.Span module provides arithmetic on time stamps but I fail to see how to construct a timestamp of a given length.
The application is in a scheduler where each item is marked with a time in the future
now + delay and my problem is to express the
delay as a time span. Is this use case not covered by the library?