mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-10 13:14:05 -05:00
one can now give tasks an optional string "name". If `Trace` is present (installed) and enabled, this results in a span around the task's execution. This also plays ok with `await` and other effect-based primitives.
4 lines
113 B
OCaml
4 lines
113 B
OCaml
val dummy_span : int64
|
|
val enter_span : string -> int64
|
|
val exit_span : int64 -> unit
|
|
val enabled : unit -> bool
|