Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ finished
Method
finished
examples/eventlet/bulk_task_producer.py:15–19 ·
view source on GitHub ↗
(self, result)
Source
from the content-addressed store, hash-verified
13
self.ready = Event()
14
15
def
finished(self, result):
16
self.result = result
17
if
self.callback:
18
self.callback(result)
19
self.ready.send()
20
21
def
wait(self, timeout=None):
22
with
Timeout(timeout):
Callers
1
_producer
Method · 0.80
Calls
2
callback
Method · 0.45
send
Method · 0.45
Tested by
no test coverage detected