MCPcopy Index your code
hub / github.com/coleifer/huey / __init__

Method __init__

huey/api.py:1169–1173  ·  view source on GitHub ↗
(self, tasks, callback)

Source from the content-addressed store, hash-verified

1167
1168class chord(object):
1169 def __init__(self, tasks, callback):
1170 if isinstance(callback, TaskWrapper):
1171 callback = callback.s()
1172 self.tasks = tasks
1173 self.callback = callback
1174
1175 def then(self, task, *args, **kwargs):
1176 self.callback.then(task, *args, **kwargs)

Callers

nothing calls this directly

Calls 1

sMethod · 0.80

Tested by

no test coverage detected