Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ray-project/ray
/ qsize
Method
qsize
python/ray/util/queue.py:73–75 ·
view source on GitHub ↗
The size of the queue.
(self)
Source
from the content-addressed store, hash-verified
71
return
ray.get(self.actor.qsize.remote())
72
73
def
qsize(self) -> int:
74
""
"The size of the queue."
""
75
return
self.size()
76
77
def
empty(self) -> bool:
78
""
"Whether the queue is empty."
""
Callers
10
test_qsize
Function · 0.95
test_callbacks
Function · 0.95
prefill_queue
Function · 0.45
wait_for_batch
Method · 0.45
submit
Method · 0.45
_debug_dump
Method · 0.45
_run_result_waiter
Method · 0.45
get_internal_states
Method · 0.45
qsize
Method · 0.45
summarize
Method · 0.45
Calls
1
size
Method · 0.95
Tested by
3
test_qsize
Function · 0.76
test_callbacks
Function · 0.76
_run_result_waiter
Method · 0.36