OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
frontends.common.ui_callback_queue.UiCallbackQueue Class Reference

Workers submit; only the frontend thread drains or closes this queue. More...

Public Member Functions

None dispatch_ui (self, Callable[[], None] callback)
 Enqueue work from any thread; discard submissions after close.
None dispatch_pending (self, int limit=100)
 Deliver a bounded batch on the frontend thread without starving timers.
None close (self)
 Retire the queue so even racing producers cannot deliver late work.

Detailed Description

Workers submit; only the frontend thread drains or closes this queue.


The documentation for this class was generated from the following file:
  • frontends/common/ui_callback_queue.py