MutableData

A mutable in-memory data store providing access to values using the Service Locator pattern

Users will be able to modify this data store inside methods annotated with InitRoute, and then access a read-only version of the data inside a Page or a Layout.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
inline fun <T : Any> MutableData.add(value: T)
Link copied to clipboard
inline fun <T : Any> MutableData.addIfAbsent(value: () -> T)
Link copied to clipboard
fun clear()
Link copied to clipboard
open operator override fun <T : Any> get(key: KClass<T>): T?
Link copied to clipboard
inline fun <T : Any> Data.get(): T?
Link copied to clipboard
inline fun <T : Any> Data.getValue(): T
fun <T : Any> Data.getValue(key: KClass<T>): T
Link copied to clipboard
operator fun <T : Any> set(key: KClass<T>, value: T)