mwg API
Reference
Overview
Examples
Getting started
Design
FAQ
Preparing search index...
Simulation
HeadlessScenario
Interface HeadlessScenario<State, Command, Event>
interface
HeadlessScenario
<
State
,
Command
,
Event
>
{
commands
:
readonly
Command
[]
;
initialState
:
State
;
seed
:
number
;
status
?:
SimulationStatus
;
step
:
SimulationRule
<
State
,
Command
,
Event
,
Random
.
Generator
>
;
}
Type Parameters
State
Command
Event
Index
Properties
commands
initial
State
seed
status?
step
Properties
Readonly
commands
commands
:
readonly
Command
[]
Readonly
initial
State
initialState
:
State
Readonly
seed
seed
:
number
Optional
Readonly
status
status
?:
SimulationStatus
Readonly
step
step
:
SimulationRule
<
State
,
Command
,
Event
,
Random
.
Generator
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
commands
initial
State
seed
status
step
Reference
Overview
Examples
Getting started
Design
FAQ
mwg API
Loading...