flatThen

override fun <R> flatThen(onFulfilled: (T) -> PromiseResult<R>): Promise<R>(source)
override fun <R> flatThen(onFulfilled: (T) -> PromiseResult<R>, onRejected: (JsError) -> PromiseResult<R>): Promise<R>(source)