Package-level declarations
Functions
Link copied to clipboard
Collect Flow without throwing an exception, except CancellationException to cancel parent jobs. Tries to emit a single value if Flow.collect can not be called.
Collect StateFlow without throwing an exception, except CancellationException to cancel parent jobs. Tries to emit a single value if StateFlow.collect can not be called.
Link copied to clipboard
Equivalent of runCatching but able to throw CancellationException to cancel parent jobs.
Link copied to clipboard
Equivalent of a suspendable runCatching but able to throw CancellationException to cancel parent jobs.
Link copied to clipboard
Equivalent of a suspendable safeCast, able to throw CancellationException to cancel parent jobs.