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")
}Вывод
ended twice without harm
pub(api) fn end() ioС версии. 1.0.0-beta
Эффекты
io
Определено в: std/obs/obs.oxl:405