MCPcopy Create free account
hub / github.com/dask/dask / wait

Function wait

dask/base.py:1197–1209  ·  view source on GitHub ↗

Wait until computation has finished This is a compatibility alias for ``dask.distributed.wait``. If it is applied onto Dask collections without Dask Futures or if Dask distributed is not installed then it is a no-op

(x, timeout=None, return_when="ALL_COMPLETED")

Source from the content-addressed store, hash-verified

1195
1196
1197def wait(x, timeout=None, return_when="ALL_COMPLETED"):
1198 """Wait until computation has finished
1199
1200 This is a compatibility alias for ``dask.distributed.wait``.
1201 If it is applied onto Dask collections without Dask Futures or if Dask
1202 distributed is not installed then it is a no-op
1203 """
1204 try:
1205 from distributed import wait
1206
1207 return wait(x, timeout=timeout, return_when=return_when)
1208 except (ImportError, ValueError):
1209 return x
1210
1211
1212def get_collection_names(collection) -> set[str]:

Callers 6

compression_matrixFunction · 0.90
svd_compressedFunction · 0.90
fMethod · 0.85
analyzeFunction · 0.85
test_persistFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_persistFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…