enqueue

fun ImageRequest.enqueue(sketch: Sketch = KoinPlatform.getKoin().get<Sketch>()): Disposable

Execute current ImageRequest asynchronously.

Note: The request will not start executing until Lifecycle state is STARTED reaches Lifecycle.State.STARTED state and View is attached to window

Return

A Disposable which can be used to cancel or check the status of the request.

See also

com.github.panpf.sketch.koin.common.test.request.ImageRequestKoinTest.testEnqueue