Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Lwt_eio.Promise
Sourceawait_lwt p
allows an Eio fiber to wait for a Lwt promise p
to be resolved, much like Eio.Promise.await
does for Eio promises. This can only be used while the event loop created by with_event_loop
is still running.
await_eio p
allows a Lwt thread to wait for an Eio promise p
to be resolved. This can only be used while the event loop created by with_event_loop
is still running.
await_eio_result
is like await_eio
, but allows failing the lwt thread too.