Package-level declarations
Types
ConcurrentValueCache is a thread-safe ValueCache. ConcurrentValueCache caches a value based on dependencies. Any time a dependency changes, the value is recomputed. If the dependencies do not change, the cached value will be returned.
A Lazy value initialized with a parameter
ValueCache caches a value based on dependencies. Any time a dependency changes, the value is recomputed. If the dependencies do not change, the cached value will be returned.
Functions
A kotlinx.serialization serializer that allow serialization to/from a specific value type while also allowing for an optional default value. The optional value only works for values of the same type. KotlinX Serialization throws an exception for anything of an unexpected type.
Converts a Long to a JsNumber Note: this potentially loses precision just like the int versions. JsNumbers are 64-bit floating values that can support higher numbers with less precision than Kotlin Long