HeadlessProgram<'Model, 'Msg> Type
A program configuration for running the Elmish update loop without graphics.
HeadlessProgram shares the core Elmish architecture (Init, Update, Subscribe, Tick, FixedStep) with the full Program type, but excludes renderers and window configuration. Use HeadlessProgram.mkHeadless to create one.
Record fields
| Record Field |
Description
|
|
Controls when dispatched messages become eligible for processing.
|
|
Optional framework-managed fixed timestep configuration.
|
|
Creates initial model and commands when the headless runner starts.
|
|
Observer factories for receiving model snapshots each frame.
|
|
Returns subscriptions based on current model state.
|
Optional function to generate a message each frame.
|
|
Handles messages and returns updated model and commands.
|
Mibo