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:
@@ -20,6 +20,8 @@ public open external class Promise<out T>(executor: (resolve: (T) -> Unit, rejec
|
||||
|
||||
public open fun <S> catch(onRejected: (Throwable) -> S): Promise<S>
|
||||
|
||||
public open fun finally(onFinally: () -> Unit): Promise<T>
|
||||
|
||||
companion object {
|
||||
public fun <S> all(promise: Array<out Promise<S>>): Promise<Array<out S>>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user