picos.lwt_unix
Picos_lwt_unix
Direct style Picos compatible interface to Lwt with Lwt_unix for OCaml 5.
Picos
Lwt
Lwt_unix
picos
picos.domain
picos.exn_bt
picos.fd
picos.fifos
picos.htbl
picos.lwt
picos.mpscq
picos.randos
picos.rc
picos.select
picos.stdio
picos.structured
picos.sync
picos.thread
picos.threaded
val run : ?forbid:bool -> (unit -> 'a) -> 'a Lwt.t
run main runs the main program implemented in Picos as a promise with Lwt as the scheduler using a Lwt_unix based System module.
run main
main
System
⚠️ This may only be called on the main thread on which Lwt runs.