Skip to content

Commit 901040c

Browse files
Extend README.md
1 parent ee82cff commit 901040c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ This is done by enabling Coroutine Debug mode by setting the property `kotlinx.c
141141

142142
This use case calculates the factorial of a number. The calculation is performed on a background thread using the default Dispatcher.
143143

144+
**Attention: This use case does not support cancellation! UseCase#11 fixes this!**
145+
144146
[[code](app/src/main/java/com/lukaslechner/coroutineusecasesonandroid/usecases/coroutines/usecase10/CalculationInBackgroundViewModel.kt)]
145147

146148
In the respective unit test, we have to pass the testDispatcher to the ViewModel, so that the calculation is not performed on a background thread but on the main thread.

0 commit comments

Comments
 (0)