package eio

Build not yet checked
  1. Overview
  2. Docs
Effect-based direct-style IO API for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

eio-1.7.tbz
sha256=a9771c0d7f4d9d9fe17badd3d147c96e85f34410ab252119ade2a407ab41ccb5
sha512=a6e0bfdc7d48886b613ba70004a46309e4162f6109d9603fbe9d70dafcc4fad3cd2382998685b1db4bb8e5bf0bbc89371b9023644d3bfaa80757e5e6939c6d8e

doc/eio.utils/Eio_utils/Suspended/index.html

Module Eio_utils.SuspendedSource

A suspended fiber with its context.

Sourcetype 'a t = {
  1. fiber : Eio.Private.Fiber_context.t;
  2. k : ('a, [ `Exit_scheduler ]) Effect.Deep.continuation;
}
Sourceval continue : 'a t -> 'a -> [ `Exit_scheduler ]
Sourceval discontinue : 'a t -> exn -> [ `Exit_scheduler ]