Skip to content

Commit

Permalink
~ Add JS IR support
Browse files Browse the repository at this point in the history
  • Loading branch information
elizarov committed May 26, 2020
1 parent 3bba156 commit 636a855
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ public actual inline fun <R, T> (suspend R.() -> T).startCoroutineUninterceptedO
return this.asDynamic()(receiver, completion)
}

@InlineOnly
internal actual inline fun <R, P, T> (suspend R.(P) -> T).startCoroutineUninterceptedOrReturn(
receiver: R,
param: P,
completion: Continuation<T>
): Any? = this.asDynamic()(receiver, param, completion)

/**
* Creates unintercepted coroutine without receiver and with result type [T].
Expand Down

0 comments on commit 636a855

Please sign in to comment.