MCPcopy
hub / github.com/celery/celery / callback

Method callback

t/unit/events/test_state.py:671–672  ·  view source on GitHub ↗
(state, event)

Source from the content-addressed store, hash-verified

669 scratch = {}
670
671 def callback(state, event):
672 scratch['recv'] = True
673
674 s = State(callback=callback)
675 s.event({'type': 'worker-online'})

Callers 1

finishedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected