close

fun close()

Cancels in-flight coalesced loads and releases the internal coroutine scope. No-op when a caller-supplied scope was provided — cancel that scope yourself.

Loads that were in flight, and any network load requested afterwards, fail with IllegalStateException; cache hits keep being served.