Package-level declarations

Types

Link copied to clipboard
interface ApplicationCoroutineScope : CoroutineScope

A process-wide CoroutineScope that outlives individual ViewModels and UI components.

Link copied to clipboard
Link copied to clipboard
interface ServiceScope : CoroutineScope

Process-lifetime scope owned by the mesh service, distinct from ApplicationCoroutineScope and from the DataStore scope. Backed by a SupervisorJob so one failed child does not tear down the rest of the service.

Properties

Link copied to clipboard

Whether Google Play services are present — true in the google flavor, false in fdroid.

Link copied to clipboard

androidx.lifecycle.Lifecycle of the whole process, not of any single Activity.

Functions

Link copied to clipboard
fun CoroutineScope.asServiceScope(): ServiceScope

Presents an existing scope as ServiceScope; the wrapper adds nothing but identity.