Skip to content

Commit 4385352

Browse files
committed
~ Add JS IR support
1 parent 0a97c6c commit 4385352

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libraries/stdlib/js-ir/src/kotlin/coroutines_13/IntrinsicsJs.kt

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ public actual inline fun <R, T> (suspend R.() -> T).startCoroutineUninterceptedO
5151
return this.asDynamic()(receiver, completion)
5252
}
5353

54+
@InlineOnly
55+
internal actual inline fun <R, P, T> (suspend R.(P) -> T).startCoroutineUninterceptedOrReturn(
56+
receiver: R,
57+
param: P,
58+
completion: Continuation<T>
59+
): Any? = this.asDynamic()(receiver, param, completion)
5460

5561
/**
5662
* Creates unintercepted coroutine without receiver and with result type [T].

0 commit comments

Comments
 (0)