Allows you to record all observed values of a flow for easy testing.
The flow to observe.
Awaits until the specified count of elements has been received or the timeout is hit.
Awaits until the specified condition is fulfilled or the timeout is hit.
Closes the subscription on the underlying stream. No further values will be received after this call.