package eio

  1. Overview
  2. Docs
Effect-based direct-style IO API for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

eio-0.9.tbz
sha256=cfbdf92e480063333f9c6ab234ee46aceeadb3209744c801cdf8a274b1997d99
sha512=410e334103a9ae9805c57ad12ca9726b0b74b82cca4477004521ccfcc7ddb0f63ec6f38fdd69728792d3dff1ab3f8ad990cd6b02b45f467cf492e2840941c669

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

Module Eio_utils.SuspendedSource

A suspended fiber with its context.

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

Innovation. Community. Security.