MCPcopy
hub / github.com/dask/dask / queue_get

Function queue_get

dask/local.py:131–136  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

129 # shouldn't affect performance, but small enough that users trying to kill
130 # an application shouldn't care.
131 def queue_get(q):
132 while True:
133 try:
134 return q.get(block=True, timeout=0.1)
135 except Empty:
136 pass
137
138else:
139

Callers 1

get_asyncFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…