Constructs a new AsyncCommandHandler.
PrivatecommandMap of command queues by task pool ID.
PrivateframeFrame counter for queue processing.
PrivatehasTracks whether lastCurrentDesignResolution has been intentionally set, including undefined.
Handler identifier.
Private OptionallastLast design-resolution transaction seen before or after task creation, replayed into new task pools.
Private OptionallastLast device-info event seen before or after task creation, replayed into new task pools.
PrivatequeueFrequency (in frames) to process the command queue.
Called periodically by the timer service to process all command queues.
The time delta since the last tick.
Broadcasts a currentDesignResolution transaction to every task queue.
The design resolution update to apply in task IoC containers.
Broadcasts a roDeviceInfoEvent update to every task queue.
The device info event to apply in task IoC containers.
Cancels a command by routing to the appropriate queue.
The AsyncCommand to cancel.
Creates task pools based on configuration, one AsyncCommandQueue per pool.
Task pool configuration mapping pool IDs to task counts.
Handles a new AsyncCommand by routing it to the appropriate task pool queue.
The AsyncCommand to handle.
Pauses a running command by routing to the appropriate queue.
The AsyncCommand to pause.
PrivateprocessProcesses all command queues, dispatching pending commands to tasks.
PrivateprocessProcesses commands that were queued before the handler was initialized.
PrivatereplayResumes a paused command by routing to the appropriate queue.
The AsyncCommand to resume.
Starts the handler and creates task pools based on configuration.
Task pool configuration mapping pool IDs to task counts.
AsyncCommandHandler manages multiple task pools, each with its own AsyncCommandQueue.
Remarks