Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
36
def
assert_will_not_block():
37
if
task_join_will_block():
38
raise
RuntimeError(E_WOULDBLOCK)
39
40
41
@contextmanager
Callers
5
test_assert_will_not_block
Method · 0.90
get
Method · 0.85
join
Method · 0.85
join_native
Method · 0.85
get
Method · 0.85
Calls
1
task_join_will_block
Function · 0.85
Tested by
1
test_assert_will_not_block
Method · 0.72