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

Function get_task_callback

t/unit/worker/test_loops.py:131–135  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

129
130
131def get_task_callback(*args, **kwargs):
132 x = X(*args, **kwargs)
133 x.blueprint.state = CLOSE
134 asynloop(*x.args)
135 return x, x.consumer.on_message
136
137
138class test_asynloop:

Callers 2

task_contextMethod · 0.85

Calls 2

asynloopFunction · 0.90
XClass · 0.70

Tested by

no test coverage detected