Spec

abstract class Spec<A : AppService>

Configuration and code to launch a Treehouse application.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val freshnessChecker: FreshnessChecker
Link copied to clipboard

Returns true to only load code from the network. Otherwise, this will recover from unreachable network code by loading code from the cache or the embedded file system.

Link copied to clipboard
abstract val manifestUrl: Flow<String>

The URL of the Zipline manifest file to load this app's code from.

Link copied to clipboard
abstract val name: String
Link copied to clipboard
open val serializersModule: SerializersModule

Functions

Link copied to clipboard
abstract suspend fun bindServices(treehouseApp: TreehouseApp<A>, zipline: Zipline)

Make services available to guest application on zipline, typically by making one or more calls to Zipline.bind.

Link copied to clipboard
abstract fun create(zipline: Zipline): A