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

Function evaluate_promises

celery/utils/functional.py:69–73  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

67
68
69def evaluate_promises(it):
70 for value in it:
71 if isinstance(value, promise):
72 value = value()
73 yield value
74
75
76def first(predicate, it):

Callers 1

firstFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected