Yokan / rebuild
Course 1 8624561

DownloadKeepAlive.ios.kt

composeApp/src/iosMain/kotlin/eu/friedcutlet/yokan/services/download/DownloadKeepAlive.ios.kt

implementation9 lines
1package eu.friedcutlet.yokan.services.download23import eu.friedcutlet.yokan.database.YokanDatabase4import eu.friedcutlet.yokan.domain.ProfileId5import kotlinx.coroutines.CoroutineScope67// ponytail: iOS suspends the app soon after it leaves the screen; interrupted downloads resume on the next8// launch. A background URLSession would be the upgrade.9actual fun keepDownloadsAlive(downloads: DownloadService, database: YokanDatabase, scope: CoroutineScope, profileId: ProfileId) = Unit10

Search chapters, reference and source filenames.