Scoop API

scoop:scoop.window.asyncio:0.1.0

shared/scope.scoop

Selected production source · shared/scope.scoop

1package scoop.window.asyncio
3/** Returns the active business scope; cleanup notifications have no application scope. */
4public fun currentApplicationScope(): CoroutineScope = applicationScope()
6internal class ScopeBinding(val scope: CoroutineScope)
8context(binding: ScopeBinding)
9private fun applicationScope(): CoroutineScope = binding.scope