Module type Promise.P

type +'a t
val t_of_js : (Ojs.t -> 'a) -> Ojs.t -> 'a t
val t_to_js : ('a -> Ojs.t) -> 'a t -> Ojs.t