ditto-lib / live.ditto / DittoAttachmentFetcher / stop

stop

fun stop(): Unit

Stops fetching the fetcher's associated attachment and cleans up any associated resources.

This should be called once you have completed an attachment fetch operation or before an attachment fetch has completed if you want to cancel the fetch operation.