package server-reason-react

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type (+'a, +'e) rejectable
type never
type +'a promise = ('a, never) rejectable
type +'a t = 'a promise
val pending : unit -> 'a promise * ('a -> unit)
val resolved : 'a -> 'a promise
val exec : (('a -> unit) -> unit) -> 'a promise
val get : 'a promise -> ('a -> unit) -> unit
val tap : 'a promise -> ('a -> unit) -> 'a promise
val map : 'a promise -> ('a -> 'b) -> 'b promise
val flatMap : 'a promise -> ('a -> 'b promise) -> 'b promise
val getOk : ('a, 'e) Stdlib.result promise -> ('a -> unit) -> unit
val tapOk : ('a, 'e) Stdlib.result promise -> ('a -> unit) -> ('a, 'e) Stdlib.result promise
val mapOk : ('a, 'e) Stdlib.result promise -> ('a -> 'b) -> ('b, 'e) Stdlib.result promise
val flatMapOk : ('a, 'e) Stdlib.result promise -> ('a -> ('b, 'e) Stdlib.result promise) -> ('b, 'e) Stdlib.result promise
val getError : ('a, 'e) Stdlib.result promise -> ('e -> unit) -> unit
val tapError : ('a, 'e) Stdlib.result promise -> ('e -> unit) -> ('a, 'e) Stdlib.result promise
val mapError : ('a, 'e) Stdlib.result promise -> ('e -> 'e2) -> ('a, 'e2) Stdlib.result promise
val flatMapError : ('a, 'e) Stdlib.result promise -> ('e -> ('a, 'e2) Stdlib.result promise) -> ('a, 'e2) Stdlib.result promise
module Operators : sig ... end
val getSome : 'a option promise -> ('a -> unit) -> unit
val tapSome : 'a option promise -> ('a -> unit) -> 'a option promise
val mapSome : 'a option promise -> ('a -> 'b) -> 'b option promise
val flatMapSome : 'a option promise -> ('a -> 'b option promise) -> 'b option promise
val race : 'a promise list -> 'a promise
val all : 'a promise list -> 'a list promise
val allArray : 'a promise array -> 'a array promise
val all2 : 'a promise -> 'b promise -> ('a * 'b) promise
val all3 : 'a promise -> 'b promise -> 'c promise -> ('a * 'b * 'c) promise
val all4 : 'a promise -> 'b promise -> 'c promise -> 'd promise -> ('a * 'b * 'c * 'd) promise
val all5 : 'a promise -> 'b promise -> 'c promise -> 'd promise -> 'e promise -> ('a * 'b * 'c * 'd * 'e) promise
val all6 : 'a promise -> 'b promise -> 'c promise -> 'd promise -> 'e promise -> 'f promise -> ('a * 'b * 'c * 'd * 'e * 'f) promise
val allOk : ('a, 'e) Stdlib.result promise list -> ('a list, 'e) Stdlib.result promise
val allOkArray : ('a, 'e) Stdlib.result promise array -> ('a array, 'e) Stdlib.result promise
val allOk2 : ('a, 'err) Stdlib.result promise -> ('b, 'err) Stdlib.result promise -> ('a * 'b, 'err) Stdlib.result promise
val allOk3 : ('a, 'err) Stdlib.result promise -> ('b, 'err) Stdlib.result promise -> ('c, 'err) Stdlib.result promise -> ('a * 'b * 'c, 'err) Stdlib.result promise
val allOk4 : ('a, 'err) Stdlib.result promise -> ('b, 'err) Stdlib.result promise -> ('c, 'err) Stdlib.result promise -> ('d, 'err) Stdlib.result promise -> ('a * 'b * 'c * 'd, 'err) Stdlib.result promise
val allOk5 : ('a, 'err) Stdlib.result promise -> ('b, 'err) Stdlib.result promise -> ('c, 'err) Stdlib.result promise -> ('d, 'err) Stdlib.result promise -> ('e, 'err) Stdlib.result promise -> ('a * 'b * 'c * 'd * 'e, 'err) Stdlib.result promise
val allOk6 : ('a, 'err) Stdlib.result promise -> ('b, 'err) Stdlib.result promise -> ('c, 'err) Stdlib.result promise -> ('d, 'err) Stdlib.result promise -> ('e, 'err) Stdlib.result promise -> ('f, 'err) Stdlib.result promise -> ('a * 'b * 'c * 'd * 'e * 'f, 'err) Stdlib.result promise
module Js : sig ... end
module PipeFirst : sig ... end
val onUnhandledException : (exn -> unit) Stdlib.ref
OCaml

Innovation. Community. Security.