flatTry

external fun <T : JsAny?> flatTry(block: () -> PromiseResult<T>): Promise<T>(source)

MDN Reference