You are currently looking at the v8.2 - v9.0 docs (Reason v3.6 syntax edition). You can find the latest API docs here.
Promise
Provide bindings to JS promise.
t
REStype t<+'a>
error
REStype error
make
RESlet make: ((~resolve: (. 'a) => unit, ~reject: (. exn) => unit) => unit) => t<'a>
resolve
RESlet resolve: 'a => t<'a>
reject
RESlet reject: exn => t<'a>
all
RESlet all: array<t<'a>> => t<array<'a>>
all2
RESlet all2: ((t<'a0>, t<'a1>)) => t<('a0, 'a1)>
all3
RESlet all3: ((t<'a0>, t<'a1>, t<'a2>)) => t<('a0, 'a1, 'a2)>
all4
RESlet all4: ((t<'a0>, t<'a1>, t<'a2>, t<'a3>)) => t<('a0, 'a1, 'a2, 'a3)>
all5
RESlet all5: ((t<'a0>, t<'a1>, t<'a2>, t<'a3>, t<'a4>)) => t<('a0, 'a1, 'a2, 'a3, 'a4)>
all6
RESlet all6: ((t<'a0>, t<'a1>, t<'a2>, t<'a3>, t<'a4>, t<'a5>)) => t<('a0, 'a1, 'a2, 'a3, 'a4, 'a5)>
race
RESlet race: array<t<'a>> => t<'a>
then_
RESlet then_: ('a => t<'b>, t<'a>) => t<'b>
catch
RESlet catch: (error => t<'a>, t<'a>) => t<'a>