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

Method mycallback

t/unit/concurrency/test_pool.py:42–45  ·  view source on GitHub ↗
(ret_value)

Source from the content-addressed store, hash-verified

40 proc_counter = itertools.count()
41
42 def mycallback(ret_value):
43 process = next(proc_counter)
44 scratchpad[process] = {}
45 scratchpad[process]['ret_value'] = ret_value
46
47 myerrback = mycallback
48

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected