trace

inline fun <T> WorkflowTracer?.trace(label: String, block: () -> T): T(source)

Convenience function to wrap block with a trace span as defined by WorkflowTracer. This wraps very frequently evaluated code and we should only use constants for label, with no interpolation.