Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ScalingIntelligence/tokasaurus
/ queue_iterator
Function
queue_iterator
tokasaurus/utils.py:479–484 ·
view source on GitHub ↗
(q: mp.Queue)
Source
from the content-addressed store, hash-verified
477
478
479
def
queue_iterator(q: mp.Queue):
480
while
True:
481
try
:
482
yield
q.get_nowait()
483
except
queue.Empty:
484
break
485
486
487
def
block_on_queues(queues: list[mp.Queue]):
Callers
2
handle_new_server_commands
Function · 0.90
handle_new_model_outputs
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected