FSharp.Qualia


EventLoop<'Model, 'Event, 'Element>

Namespace: FSharp.Qualia

The event loop itself, wiring all moving parts

Constructors

ConstructorDescription
new(v, c)
Signature: (v:View<'Event,'Element,'Model> * c:IDispatcher<'Event,'Model>) -> EventLoop<'Model,'Event,'Element>

Instance members

Instance memberDescription
Inject(e)
Signature: e:'Event -> unit
Start()
Signature: unit -> IDisposable

Starts the event loop - will init the model, set its bindings, subscribe to the views event streams and handle them

StartWithScheduler(f)
Signature: (f:((unit -> unit) -> unit)) -> IDisposable
Fork me on GitHub