Channel.receiveAsFlow
doesn't document the prompt cancellation guarantee
#4337
Labels
docs
KDoc and API reference
Nothing in the docs says that channel elements can be lost (and the resources can be leaked) if collection gets cancelled, but it can happen.
One of the runs prints:
The text was updated successfully, but these errors were encountered: