method Span.end
Ends the span. Calling it twice, or on a span that is not recorded, does nothing.
Example:
use std.obs { span }
fn main() io {
let s = span.start("work")
s.end()
s.end()
print("ended twice without harm")
}Output
ended twice without harm
pub(api) fn end() ioSince. 1.0.0-beta
Effects
io
Defined in: std/obs/obs.oxl:405