Paul Woitaschek
@Test fun experiment() = runBlockingTest { PublishProcessor.create<Unit>() .replay(1) .refCount() .asFlow() .first() }
java.lang.IllegalStateException: This job has not completed yet
streetsofboston
@Test fun experiment() = runBlockingTest { flow<Unit> { suspendCancellableCoroutine<Nothing> { } } .first() }
first()
voben
runBlocking
runBlockingTest
A modern programming language that makes developers happier.