Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Releases: freeletics/FlowRecorder

0.2.0

02 Nov 11:10
Compare
Choose a tag to compare

Added a .cleanUp() method to cancel coroutine Jobs and channels and release recorded emissions to avoid running out of memory if you have a lot of emissions recorded and a lot of tests doing that. Discussed in #2 .

val emissions = flowOf(1,2,3).record()
emissions shouldEmitNext 1
emissions.shouldEmitNext(2,3)
emissions.cleanUp()  // <-- new in 0.2.0

0.1.0

02 Nov 11:07
Compare
Choose a tag to compare

Initial relase:

val emissions = flowOf(1,2,3).record()
emissions shouldEmitNext 1
emissions.shouldEmitNext(2,3)