Package-level declarations

Types

Link copied to clipboard

A strategy to assign what RenderMode is selected if RenderMode.AUTO is selected. This interface could implement () -> RenderMode but this is prohibited in Kotlin/JS.

Link copied to clipboard
data class HwAutoRenderModeStrategy(val minHwConcurrency: Int = 4) : AutoRenderModeStrategy

The render mode is selected based on the hardware capacity of the client.

Link copied to clipboard

Update the application state using HTTP calls to the REST server.

Link copied to clipboard

The strategy used to update the application state. This class is mainly used to specify how the application should behave based on the state of the it.unibo.alchemist.boundary.webui.common.model.RenderMode.

Functions

Link copied to clipboard
suspend fun updateState(renderMode: RenderMode, updateStateStrategy: UpdateStateStrategy, autoStrategy: AutoRenderModeStrategy)

Update the application state, including the Environment.