Cmd<'Msg> Type
Represents a command that produces side effects in the Elmish runtime.
Commands are returned from init and update functions to schedule
side effects that run outside the pure update cycle. They can dispatch
messages back into the runtime, either immediately or deferred.
Union cases
| Union case |
Description
|
|
Multiple effects to execute in this frame
|
|
Effects deferred until the next frame begins
|
Full Usage:
Empty
|
No-op command (use |
Full Usage:
Msg msg
Parameters:
'Msg
|
A message to dispatch directly without wrapping in an effect
|
|
|
Full Usage:
Quit
|
Signals the runtime to exit after this frame |
|
Single effect to execute
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsBatch
Returns: bool
|
|
Full Usage:
this.IsDeferNextFrame
Returns: bool
|
|
Full Usage:
this.IsEmpty
Returns: bool
|
|
Full Usage:
this.IsMsg
Returns: bool
|
|
Full Usage:
this.IsNowAndDeferNextFrame
Returns: bool
|
|
Full Usage:
this.IsQuit
Returns: bool
|
|
Full Usage:
this.IsSingle
Returns: bool
|
|
Mibo