@@ -40,14 +40,14 @@ internal fun <R, T> (suspend (R) -> T).startCoroutineUndispatched(receiver: R, c
40
40
*/
41
41
internal fun <T , R > ScopeCoroutine<T>.startUndispatchedOrReturn (
42
42
receiver : R , block : suspend R .() -> T
43
- ): Any? = startUndspatched (alwaysRethrow = true , receiver, block)
43
+ ): Any? = startUndispatched (alwaysRethrow = true , receiver, block)
44
44
45
45
/* *
46
46
* Same as [startUndispatchedOrReturn], but ignores [TimeoutCancellationException] on fast-path.
47
47
*/
48
48
internal fun <T , R > ScopeCoroutine<T>.startUndispatchedOrReturnIgnoreTimeout (
49
49
receiver : R , block : suspend R .() -> T
50
- ): Any? = startUndspatched (alwaysRethrow = false , receiver, block)
50
+ ): Any? = startUndispatched (alwaysRethrow = false , receiver, block)
51
51
52
52
/* *
53
53
* Starts and handles the result of an undispatched coroutine, potentially with children.
@@ -58,7 +58,7 @@ internal fun <T, R> ScopeCoroutine<T>.startUndispatchedOrReturnIgnoreTimeout(
58
58
* It is a tweak for 'withTimeout' in order to successfully return values when the block was cancelled:
59
59
* i.e. `withTimeout(1ms) { Thread.sleep(1000); 42 }` should not fail.
60
60
*/
61
- private fun <T , R > ScopeCoroutine<T>.startUndspatched (
61
+ private fun <T , R > ScopeCoroutine<T>.startUndispatched (
62
62
alwaysRethrow : Boolean ,
63
63
receiver : R , block : suspend R .() -> T
64
64
): Any? {
0 commit comments