LWT (a popular IO library) has channels: <a href="https:&#x2F;&#x2F;ocsigen.org&#x2F;lwt&#x2F;dev&#x2F;api&#x2F;Lwt_io" rel="nofollow">https:&#x2F;&#x2F;ocsigen.org&#x2F;lwt&#x2F;dev&#x2F;api&#x2F;Lwt_io</a><p>That&#x27;s what TFAA (and MirageOS) use.