class

MVU::Program(M)

Inherits Reference < Object

Constants

CAPACITY = 1024

Constructors

new(initial_model : M, initial_cmd : Cmd = Cmd.none, middlewares : Array(Middleware(M)) = [] of Middleware(M), render : Render = Render::EveryMessage)
Source

Instance methods

dispatch(msg : Msg) : Nil
Source
dispatch?(msg : Msg) : Bool
Source
model
Source
stop
Source
stopped?
Source