package eio

  1. Overview
  2. Docs

A suspended fiber with its context.

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

Innovation. Community. Security.