GHC.Eventlog.Live.Data.Span
Description
type IsSpan s = (HasField "startTimeUnixNano" s Timestamp, HasField "endTimeUnixNano" s Timestamp) Source #
A span is any type with a start and end time.
duration :: IsSpan s => s -> Timestamp Source #
Determine the duration of a span.