@@ -40,14 +40,14 @@ internal fun <R, T> (suspend (R) -> T).startCoroutineUndispatched(receiver: R, c
4040 */
4141internal fun <T , R > ScopeCoroutine<T>.startUndispatchedOrReturn (
4242 receiver : R , block : suspend R .() -> T
43- ): Any? = startUndspatched (alwaysRethrow = true , receiver, block)
43+ ): Any? = startUndispatched (alwaysRethrow = true , receiver, block)
4444
4545/* *
4646 * Same as [startUndispatchedOrReturn], but ignores [TimeoutCancellationException] on fast-path.
4747 */
4848internal fun <T , R > ScopeCoroutine<T>.startUndispatchedOrReturnIgnoreTimeout (
4949 receiver : R , block : suspend R .() -> T
50- ): Any? = startUndspatched (alwaysRethrow = false , receiver, block)
50+ ): Any? = startUndispatched (alwaysRethrow = false , receiver, block)
5151
5252/* *
5353 * Starts and handles the result of an undispatched coroutine, potentially with children.
@@ -58,7 +58,7 @@ internal fun <T, R> ScopeCoroutine<T>.startUndispatchedOrReturnIgnoreTimeout(
5858 * It is a tweak for 'withTimeout' in order to successfully return values when the block was cancelled:
5959 * i.e. `withTimeout(1ms) { Thread.sleep(1000); 42 }` should not fail.
6060 */
61- private fun <T , R > ScopeCoroutine<T>.startUndspatched (
61+ private fun <T , R > ScopeCoroutine<T>.startUndispatched (
6262 alwaysRethrow : Boolean ,
6363 receiver : R , block : suspend R .() -> T
6464): Any? {
0 commit comments