mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-15 06:49:56 -04:00
11 lines
193 B
OCaml
11 lines
193 B
OCaml
type 'a t = 'a Lwt.t
|
|
|
|
let return = Lwt.return
|
|
|
|
let ( let* ) = Lwt.Syntax.( let* )
|
|
|
|
let sleep_s = Lwt_unix.sleep
|
|
|
|
let spawn = Lwt.async
|
|
|
|
let[@inline] protect ~finally f = Lwt.finalize f finally
|