Skip to main content

Module worker

Module worker 

Source
Expand description

Background thread that owns the data source.

Polling (and, for remote sources, waiting on the network) happens off the UI thread so that input stays responsive. The UI sends Commands and receives Events over channels.

Structs§

Worker
Handle to the worker thread. Dropping it stops the thread.

Enums§

Command
Requests from the UI to the worker.
Event
Messages from the worker to the UI.