monomer-1.4.0.0: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Monomer.Main.WidgetTask

Description

Handles the lifecycle and reporting of generated events of WidgetTasks (single message) and Producers (multiple messages).

Synopsis

Documentation

handleWidgetTasks Source #

Arguments

:: MonomerM s e m 
=> WidgetEnv s e

The widget environment.

-> WidgetNode s e

The widget root.

-> m (HandlerStep s e)

The updated Monomer.Main.Handlers.HandlerStep.

Checks the status and collects results of active tasks.