I want the exception to be passed to the callers.
I have a callback based API and I want to return values as a Flow. When the result is a failure I want to cancel the job and pass the exception that caused the failure
I want to know the proper way of cancelling a Coroutine in callbackFlow in that scenario