Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert from injecting CoroutineDispatchers to CoroutineContexts #2325

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexvanyo
Copy link
Owner

Fixes #2322

@@ -32,6 +33,6 @@ interface ImageLoaderDiskCacheComponent : FileSystemModule {
): DiskCache = DiskCache.Builder()
.directory(FileSystem.SYSTEM_TEMPORARY_DIRECTORY / "coil3_disk_cache")
.fileSystem(fileSystem)
.cleanupDispatcher(dispatchers.IO)
.cleanupDispatcher(dispatchers.IO as CoroutineDispatcher)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.37%. Comparing base (09c8947) to head (8eaab07).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2325      +/-   ##
============================================
- Coverage     63.38%   63.37%   -0.01%     
  Complexity      518      518              
============================================
  Files           237      237              
  Lines         12499    12499              
  Branches       2217     2217              
============================================
- Hits           7922     7921       -1     
  Misses         3389     3389              
- Partials       1188     1189       +1     
Flag Coverage Δ
21 63.37% <ø> (ø)
22 ?
23 ?
24 ?
25 ?
26 ?
27 ?
28 ?
29 ?
30 ?
31 ?
32 ?
33 ?
34 ?
35 63.36% <ø> (ø)
unit 63.37% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert ComposeLifeDispatchers to use CoroutineContext for all entries
1 participant