Yokan / rebuild
Course 1 8624561

IosBackgroundTaskRegistration.kt

composeApp/src/iosMain/kotlin/eu/friedcutlet/yokan/app/IosBackgroundTaskRegistration.kt

implementation12 lines
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

Search chapters, reference and source filenames.