MCPcopy
hub / github.com/celery/celery / then

Method then

celery/result.py:114–116  ·  view source on GitHub ↗
(self, callback, on_error=None, weak=False)

Source from the content-addressed store, hash-verified

112 self._ignored = value
113
114 def then(self, callback, on_error=None, weak=False):
115 self.backend.add_pending_result(self, weak=weak)
116 return self.on_ready.then(callback, on_error)
117
118 def _on_fulfilled(self, result):
119 self.backend.remove_pending_result(self)

Callers

nothing calls this directly

Calls 2

add_pending_resultMethod · 0.45
thenMethod · 0.45

Tested by

no test coverage detected