rra/ilgonmic/after-test-promise
[JS] Node downloading for js ir integration kotlin test [JS] Fix API of Promise [JS IR] Promise symbol as lazy2 [JS] Support legacy compiler aftertest with promises [JS IR] Generate finally for promised tests [JS] Setup it tests for JS IR kotlin-test Merge-request: KT-MR-5168 ^KT-49738 fixed
This commit is contained in:
@@ -283,6 +283,8 @@ public open external class Promise<out T> {
|
||||
|
||||
public open fun <S> catch(onRejected: (kotlin.Throwable) -> S): kotlin.js.Promise<S>
|
||||
|
||||
public open fun finally(onFinally: () -> kotlin.Unit): kotlin.js.Promise<T>
|
||||
|
||||
@kotlin.internal.LowPriorityInOverloadResolution
|
||||
public open fun <S> then(onFulfilled: ((T) -> S)?): kotlin.js.Promise<S>
|
||||
|
||||
|
||||
@@ -282,6 +282,8 @@ public open external class Promise<out T> {
|
||||
|
||||
public open fun <S> catch(onRejected: (kotlin.Throwable) -> S): kotlin.js.Promise<S>
|
||||
|
||||
public open fun finally(onFinally: () -> kotlin.Unit): kotlin.js.Promise<T>
|
||||
|
||||
@kotlin.internal.LowPriorityInOverloadResolution
|
||||
public open fun <S> then(onFulfilled: ((T) -> S)?): kotlin.js.Promise<S>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user