Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'e) t = ('a, 'e) rejectable
val pending : unit -> ('a, 'e) rejectable * ('a -> unit) * ('e -> unit)
val resolved : 'a -> ('a, 'e) rejectable
val rejected : 'e -> ('a, 'e) rejectable
val get : ('a, 'e) rejectable -> ('a -> unit) -> unit
val tap : ('a, 'e) rejectable -> ('a -> unit) -> ('a, 'e) rejectable
val map : ('a, 'e) rejectable -> ('a -> 'b) -> ('b, 'e) rejectable
val flatMap :
('a, 'e) rejectable ->
('a -> ('b, 'e) rejectable) ->
('b, 'e) rejectable
val catch :
('a, 'e) rejectable ->
('e -> ('a, 'e2) rejectable) ->
('a, 'e2) rejectable
val all : ('a, 'e) rejectable list -> ('a list, 'e) rejectable
val race : ('a, 'e) rejectable list -> ('a, 'e) rejectable
val relax : 'a promise -> ('a, 'e) rejectable
val toResult : ('a, 'e) rejectable -> ('a, 'e) result promise
val fromResult : ('a, 'e) result promise -> ('a, 'e) rejectable