IosBackgroundTaskRegistration.kt
composeApp/src/iosMain/kotlin/eu/friedcutlet/yokan/app/IosBackgroundTaskRegistration.kt
1package eu.friedcutlet.yokan.app23import eu.friedcutlet.yokan.services.scheduling.registerIosBackgroundTasks45/** Registered from UIApplicationDelegate before launch returns. */6object IosBackgroundTaskRegistration {7 fun register() {8 registerIosBackgroundTasks { owner, task ->9 YokanRuntime.runBackgroundTask(owner.value, task = task)10 }11 }12}13