jvm task¶ inline fun <T> task( message: () -> String, values: SentierValues = SentierValues.Empty, crossinline block: () -> T ): T Tracks the progress of block in a child Span. Example¶ fun createUser() { task({ "Create user" }) { // …create the user… } } See also¶ currentSpan: Make sure the thread has an assigned span.