setSafeGroup
context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Long.Companion.setSafeGroup()(source)
fun Long.Companion.setSafeGroup()(source)
Registers the safe Group context for Long (with overflow checking) in the given registry.
Context Parameters
registry
The mutable owned provider registry to register the context into.
context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Double.Companion.setSafeGroup()(source)
fun Double.Companion.setSafeGroup()(source)
Registers the safe Group context for Double (with NaN/Infinity validation) in the given registry.
Context Parameters
registry
The mutable owned provider registry to register the context into.