package lwt_eio

  1. Overview
  2. Docs
Run Lwt code within Eio

Install

Dune Dependency

Authors

Maintainers

Sources

lwt_eio-0.2.tbz
sha256=569e0c4aca057eeed2d2c272642baf16cb7a7266a5c197bdfa2f33e84e8ed4e4
sha512=e7534a9810fbdf12bc36bc67c885e45bf0ad19cbbf9df435b08c0ba6188ad8e52642d6a10b570a762e07756ac393fe5c5e337d5bccec4fb517415c7609e00b6a

CHANGES.md.html

v0.2

  • Add some tests and documentation of the internals (@talex5 #9).

  • Bridge Eio and Lwt cancellation (@talex5 #8).

    • Cancelling a run_lwt Fiber cancels the Lwt promise.

    • Cancelling a run_eio promise cancels the Eio fiber.

  • Add run_lwt for consistency with run_eio and Async_eio (@talex5 #8).

  • Add 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.

  • Update to Eio 0.2 (@talex5 #4). Eio 0.2 renamed "fibre" to "fiber". This fixes the deprecation warning.

v0.1

  • Initial release.