Package-level declarations

Types

Link copied to clipboard
open class GlobalResources(val coroutineContext: CoroutineContext, val root: VfsFile = resourcesVfs) : Resources
Link copied to clipboard
open class Resource<T : Any>(val resources: Resources, val name: String, val cache: ResourceCache, gen: suspend Resources.() -> T) : Resourceable<T>
Link copied to clipboard
interface Resourceable<T : Any>
Link copied to clipboard
Link copied to clipboard
annotation class ResourcePath
Link copied to clipboard
class ResourceRef<T : Any>(val cache: ResourceCache = ResourceCache.GLOBAL, val gen: suspend Resources.() -> T)
Link copied to clipboard
open class Resources(val coroutineContext: CoroutineContext, val root: VfsFile = resourcesVfs, val parent: Resources? = null) : ResourcesContainer
Link copied to clipboard

Functions

Link copied to clipboard
fun <T : Any> resource(cache: ResourceCache = ResourceCache.LOCAL, gen: suspend Resources.() -> T): ResourceRef<T>
Link copied to clipboard
Link copied to clipboard
fun <T : Any> resourceGlobal(gen: suspend Resources.() -> T): ResourceRef<T>
Link copied to clipboard
fun <T : Any> resourceLocal(gen: suspend Resources.() -> T): ResourceRef<T>
Link copied to clipboard
fun <T : Any> resourceUncached(gen: suspend Resources.() -> T): ResourceRef<T>