Expand description
The work queue allows for submission and completion of work.
There are two ways of interacting with the worker executor.
- By directly interfacing with
WorkerExecutor
instance. - Using a
WorkerQueue
, which allows for easy handling of multiple requests.
Structs§
- Typed
Worker Queue - Allows for only submissed of a certain type into the worker queue.
- Work
Handle - Work
Token - A Work Token is a single unit of work done within the Work Queue. Can be built using a WorkTokenBuilder
- Work
Token Builder - Builds
WorkToken
s for the work queue. Both on_start and on_complete are optional. - Worker
Executor - A worker queue allows for the submission of work to be done in parallel.
- Worker
Queue - A worker queue is a way of submitting work to a
WorkerExecutor
.