Throwing Cancelable File Source Provider
class ThrowingCancelableFileSourceProvider(file: File, throwIfCanceled: Runnable) : DualSourceProvider
Content copied to clipboard
A DualSourceProvider that invokes throwIfCanceled before every read, allowing cancellation of IO based work built on top by throwing an exception.
Constructors
Link copied to clipboard
fun ThrowingCancelableFileSourceProvider(file: File, throwIfCanceled: Runnable)
Content copied to clipboard