pushCurrentSpan¶
@DelicateSpanApi
expect fun pushCurrentSpan(span: Span)
@DelicateSpanApi
actual fun pushCurrentSpan(span: Span)
Pushes span as a child of the currentSpan.
This is a low-level method to work with tasks. Unless you are writing some kind of library based on this project, you should use task instead.
Pushing the Task.Root is forbidden and throws an IllegalArgumentException.