package eio

  1. Overview
  2. Docs

A suspended fiber with its context.

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

Innovation. Community. Security.