IO.Sval create_lock : unit -> lockval with_lock : lock -> (unit -> 'a) -> 'aProtect one short synchronous state transition. The callback performs no Lwt effect and the lock must be released if it raises.
val create_notifier : unit -> notifierval await : notifier -> unit Lwt.tCreate a waiter for the next notification. The implementation protects the returned promise from caller cancellation.
val notify : notifier -> unitval dispose : notifier -> unitval ensure_directory : string -> (unit, error) Stdlib.result Lwt.tReturn the number of bytes written from the requested slice. Partial progress is supported; zero progress is a writer failure. The implementation must not retain the string after the promise settles.
val pp_error : Stdlib.Format.formatter -> error -> unit