MCPcopy
hub / github.com/celery/celery / assert_will_not_block

Function assert_will_not_block

celery/result.py:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36def assert_will_not_block():
37 if task_join_will_block():
38 raise RuntimeError(E_WOULDBLOCK)
39
40
41@contextmanager

Callers 5

getMethod · 0.85
joinMethod · 0.85
join_nativeMethod · 0.85
getMethod · 0.85

Calls 1

task_join_will_blockFunction · 0.85

Tested by 1