cashapp / turbine

A testing library for kotlinx.coroutines Flow
https://cashapp.github.io/turbine/docs/1.x/
Apache License 2.0
2.51k stars 105 forks source link

wip: use virtual time for timeout #269

Open mightyguava opened 1 year ago

mightyguava commented 1 year ago

Use virtual time instead of wall time for turbine timeout.

Proof of concept for discussion in #268. This PR should not be merged since it is non-backwards compatible. It should probably be an option instead.

I only ran tests against jvm.