Skip to main content

Module runtime

Module runtime 

Source
Expand description

Elm-architecture runtime for agpu applications.

  • Model: Application state
  • Message: Events that update state
  • Update: Pure function (Model, Msg) -> (Model, Command)
  • View: Pure function Model -> UI description

Structs§

CancellationToken
A token that can be checked to determine if a task should be cancelled.
Frame
A rendering frame — abstraction over the GUI backend.
ProgramOptions
Configuration for the application runner.
Router
Simple URL-style router for multi-page applications.

Enums§

Command
A command returned from Model::update to request side effects.
Subscription
An Elm-style subscription — a source of events managed by the runtime.

Traits§

Model
The core trait for application models (Elm Architecture).