Factory

@ObjCName(name = "TreehouseAppFactory", exact = true)
class Factory : Closeable

This manages a cache that should be shared by all launched applications.

This class holds a stateful disk cache. At most one instance with each cacheName should be open at any time. Most callers should use a single Factory for best caching.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun <A : AppService> create(appScope: CoroutineScope, spec: TreehouseApp.Spec<A>, eventListenerFactory: EventListener.Factory = EventListener.NONE): TreehouseApp<A>