Header menu logo Mibo

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

this.Invoke

Full Usage: this.Invoke

Parameters:
    arg0 : 'Msg -> unit

Modifiers: abstract
arg0 : 'Msg -> unit

Type something to start searching.