Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Lwt_eio.with_event_loop ~debug:true
enables a new debug mode, which detects attempts to perform effects from Lwt code.Lwt_eio.run_lwt_in_main
(@talex5 #20). This is useful if your program uses multiple Eio domains and you want to run some Lwt code from any of them.run_lwt
in documentation (@talex5 #13).Bridge Eio and Lwt cancellation (@talex5 #8).
run_lwt
Fiber cancels the Lwt promise.run_eio
promise cancels the Eio fiber.run_lwt
for consistency with run_eio
and Async_eio (@talex5 #8).Lwt_eio.Token.t
token to ensure library is initialised (@talex5 #5). with_event_loop
now passes a Lwt_eio.Token.t
to its callback.