MCPcopy Create free account
hub / github.com/celery/celery / assert_will_not_block

Function assert_will_not_block

celery/result.py:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def assert_will_not_block():
38 if task_join_will_block():
39 raise RuntimeError(E_WOULDBLOCK)
40
41
42@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