Package-level declarations

Functions

Link copied to clipboard
suspend fun <ResourceT : Any> BackendEnvironment.cache(clazz: KClass<ResourceT>, key: Any = "", factory: suspend (Configuration, Resources) -> ResourceT): ResourceT

Lazily create and memoize an object that is defined by the given class and a key.

suspend fun <ResourceT : Any> BackendEnvironment.Companion.cache(clazz: KClass<ResourceT>, key: Any = "", factory: suspend (Configuration, Resources) -> ResourceT): ResourceT