RESTUpdateStateStrategy

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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun clientComputation()

Retrieve the Environment in serialized form using the EnvironmentApi. The Environment will be rendered and saved in the it.unibo.alchemist.boundary.webui.client.state.ClientStore.

Link copied to clipboard
open suspend override fun serverComputation()

Retrieve the Environment in already rendered form using the EnvironmentApi. Decode it and save it in the it.unibo.alchemist.boundary.webui.client.state.ClientStore.