Skip to content

Commit 1422344

Browse files
committed
add coment
1 parent 8cd1614 commit 1422344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-kotlin-modules/core-kotlin-concurrency-3/src/test/java/com/baeldung/singlerxjavatocoroutinedeferred/SingleRxJavaToCoroutineDeferredUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class SingleRxJavaToCoroutineDeferredUnitTest {
4545
@Test
4646
fun `using async and blockingGet`() = runBlocking {
4747
val deferred =
48-
async { getFilteredProducts().blockingGet() } // simple, but must be careful because blocking main thread
48+
async { getFilteredProducts().blockingGet() } // potentially blocking main thread while not careful
4949
deferred.assertOver500AndSorted() // assertion test
5050
}
5151

0 commit comments

Comments
 (0)