remove dead code

This commit is contained in:
Simon Cruanes 2023-07-09 17:19:26 -04:00
parent 76ca0f2d88
commit 1d57ae8fbb
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 1 additions and 17 deletions

View file

@ -73,8 +73,7 @@ let num_tasks_ (self : state) : int =
let prepare_for_await () : Dla_.t =
(* current state *)
let st :
((with_handler:bool -> task -> unit) * Suspend_types_.suspension) option
A.t =
((with_handler:bool -> task -> unit) * Suspend_.suspension) option A.t =
A.make None
in

View file

@ -1,15 +0,0 @@
(** (Private) types for {!Suspend_}.
This module is an implementation detail of Moonpool and should
not be used outside of it. *)
type suspension = (unit, exn * Printexc.raw_backtrace) result -> unit
(** A suspended computation *)
type task = unit -> unit
type suspension_handler = {
handle: run:(with_handler:bool -> task -> unit) -> suspension -> unit;
}
[@@unboxed]
(** The handler that knows what to do with the suspended computation *)