method always : (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod catch : (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback -> promise Ocp_js.Js.t Ocp_js.Js.methmethod _done : (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod fail : (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod isRejected : bool Ocp_js.Js.t Ocp_js.Js.methmethod isResolved : bool Ocp_js.Js.t Ocp_js.Js.methmethod notify : 'a Ocp_js.Js.t -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod notifyWith : 'a Ocp_js.Js.t -> 'a Ocp_js.Js.t Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod pipe : (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> promise Ocp_js.Js.t Ocp_js.Js.methmethod pipe_prg : (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> promise Ocp_js.Js.t Ocp_js.Js.methmethod progress : (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod promise : 'a Ocp_js.Js.t Ocp_js.Js.opt -> promise Ocp_js.Js.t Ocp_js.Js.methmethod reject : 'a Ocp_js.Js.t Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod rejectWith : 'a Ocp_js.Js.t -> 'a Ocp_js.Js.t Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod resolve : 'a Ocp_js.Js.t Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod resolveWith : 'a Ocp_js.Js.t -> 'a Ocp_js.Js.t Ocp_js.Js.opt -> deferred Ocp_js.Js.t Ocp_js.Js.methmethod state : Ocp_js.Js.js_string Ocp_js.Js.t Ocp_js.Js.methmethod _then : (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> (unit -> bool Ocp_js.Js.t) Ocp_js.Js.callback Ocp_js.Js.opt -> promise Ocp_js.Js.t Ocp_js.Js.meth