midas/js/run
Types
Values
pub fn await(
p: Promise(Result(a, b)),
then: fn(a) -> Promise(Result(c, b)),
) -> Promise(Result(c, b))
pub fn await(
p: Promise(Result(a, b)),
then: fn(a) -> Promise(Result(c, b)),
) -> Promise(Result(c, b))