Module DebugSession.AnyThenable

type t = Ojs.t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
type !'a tresult_or_thenable = [
  1. | `TResult of 'a
  2. | `Thenable of Ojs.t
]
val tresult_or_thenable_to_js : ('a -> Ojs.t) -> 'a tresult_or_thenable -> Ojs.t
val then_ : t -> ?onfulfilled:(value:t -> 'a tresult_or_thenable) -> ?onrejected:(reason:Interop.Js.Any.t -> 'a tresult_or_thenable) -> unit -> Ojs.t
val then_rej_unit : t -> ?onfulfilled:(value:t -> 'a tresult_or_thenable) -> ?onrejected:(reason:Interop.Js.Any.t -> unit) -> unit -> Ojs.t