ThrowingCancelableFileSourceProvider

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
constructor(file: File, throwIfCanceled: Runnable)

Functions

Link copied to clipboard
Link copied to clipboard
open override fun openStreamingSource(): BufferedSource