Skip to main content

Module channel

Module channel 

Source

Structs§

Reporter
A job’s one-way channel to the UI thread.

Functions§

post 🔒
spawn
Runs work on a new thread and posts its result to window, tagged with request so a scene can drop an answer it has moved past.
spawn_reporting
Like spawn, for a job that posts progress through the Reporter it is handed instead of a window handle it could misuse.
take⚠
Reclaims the Message a WM_WORKER_DONE carries.
take_progress⚠
Reclaims the Progress a WM_WORKER_PROGRESS carries.