package lwt_eio
Run Lwt code within Eio
Install
dune-project
Dependency
Authors
Maintainers
Sources
lwt_eio-0.6.tbz
sha256=eb1c88432311504e50f85402cc092f69766aaa8f0b485cc6e94d40ec667048bc
sha512=4517caf07a5f123e9d4f8bbdbef462feea6abb23fbe937208ec4c057ca87ae81d768b0ace9aa959bcfdea411434eec2a6905999b36ea21715983f46225e4798a
doc/CHANGES.html
v0.6
- Update to Lwt version 6 (@raphael-proust #31).
- Clarify use of
await_lwt(@talex5 #30, reported by @patricoferris). Also, some minor improvements to the examples.
v0.5.1
- Update tests for new MDX output (@talex5 #27).
- Link to ICFP tutorial from README (@talex5 #26).
v0.5
- Add debug mode (@talex5 #24). Passing
Lwt_eio.with_event_loop ~debug:trueenables a new debug mode, which detects attempts to perform effects from Lwt code. - Update to Eio 0.12 (@talex5 #23).
v0.4
- Get Lwt and Eio to share the SIGCHLD handler (@talex5 #19). Otherwise, Lwt replaces Eio's handler and may prevent Eio from noticing child processes finishing.
- Don't allow cancelling things after forking (@talex5 #21). With io_uring, this will mess up the parent's ring.
- Add
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. - Fix some Eio deprecation warnings (@talex5 #18).
v0.3
- Restore the old Lwt engine after finishing (@talex5 #16, reported by @tmcgilchrist).
- Use
run_lwtin documentation (@talex5 #13). - Update for Eio deprecations (@talex5 #12 #14).
v0.2
- Add some tests and documentation of the internals (@talex5 #9).
Bridge Eio and Lwt cancellation (@talex5 #8).
- Cancelling a
run_lwtFiber cancels the Lwt promise. - Cancelling a
run_eiopromise cancels the Eio fiber.
- Cancelling a
- Add
run_lwtfor consistency withrun_eioand Async_eio (@talex5 #8). - Add
Lwt_eio.Token.ttoken to ensure library is initialised (@talex5 #5).with_event_loopnow passes aLwt_eio.Token.tto its callback. - Update to Eio 0.2 (@talex5 #4). Eio 0.2 renamed "fibre" to "fiber". This fixes the deprecation warning.
v0.1
- Initial release.