Add CoroutineContext
configuration option to DiskCache.Builder
#2794
Labels
enhancement
New feature or request
help wanted
Issues that are up for grabs + are good candidates for community PRs
I was trying to convert my injectable
Dispatchers
holder to injectCoroutineContext
s, instead ofCoroutineDispatchers
in the spirit of https://code.cash.app/dispatchers-unconfined.A case preventing doing this easily is configuring
DiskCache
, since theDiskCache.Builder
only has acleanupDispatcher
configuration option: https://coil-kt.github.io/coil/api/coil-core/coil3.disk/-disk-cache/-builder/index.html#226104852%2FFunctions%2F1772253480Could a method that accepts a
CoroutineContext
be added as well?The text was updated successfully, but these errors were encountered: