mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-14 14:56:17 -05:00
detail in fut
This commit is contained in:
parent
b9c3e1fc7e
commit
2780b156eb
2 changed files with 3 additions and 0 deletions
|
|
@ -442,4 +442,5 @@ module Infix_local = Infix [@@deprecated "use Infix"]
|
||||||
|
|
||||||
module Private_ = struct
|
module Private_ = struct
|
||||||
let[@inline] unsafe_promise_of_fut x = x
|
let[@inline] unsafe_promise_of_fut x = x
|
||||||
|
let[@inline] as_computation self = self.st
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -285,6 +285,8 @@ module Infix_local = Infix
|
||||||
module Private_ : sig
|
module Private_ : sig
|
||||||
val unsafe_promise_of_fut : 'a t -> 'a promise
|
val unsafe_promise_of_fut : 'a t -> 'a promise
|
||||||
(** please do not use *)
|
(** please do not use *)
|
||||||
|
|
||||||
|
val as_computation : 'a t -> 'a Picos.Computation.t
|
||||||
end
|
end
|
||||||
|
|
||||||
(**/**)
|
(**/**)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue