Effect<'Msg> Type
Represents a side effect that can dispatch messages to the Elmish runtime.
Effects are the building blocks of commands. They are executed asynchronously by the runtime and can dispatch one or more messages back to the update loop.
Example
let myEffect = Effect<MyMsg>(fun dispatch ->
// Do some side effect work
dispatch (DataLoaded result)
)
val myEffect: obj
Instance members
| Instance member |
Description
|
Full Usage:
this.Invoke
Parameters:
'Msg -> unit
Modifiers: abstract |
|
Mibo