setSafeReification

context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Long.Companion.setSafeReification()(source)

Registers the safe Reification 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.setSafeReification()(source)

Registers the safe Reification context for Double (with NaN/Infinity validation) in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.