midas/js/run
Types
Functions
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))