Disposable

interface Disposable

Represents the work of an executed ImageRequest.

Functions

await
Link copied to clipboard
abstract suspend fun await()

Suspends until any in progress work completes.

dispose
Link copied to clipboard
abstract fun dispose()

Cancels any in progress work and frees any resources associated with this request. This method is idempotent.

Properties

isDisposed
Link copied to clipboard
abstract val isDisposed: Boolean

Returns true if the request is complete or cancelling.