Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
def
assert_will_not_block():
38
if
task_join_will_block():
39
raise
RuntimeError(E_WOULDBLOCK)
40
41
42
@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