We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e442ce4 commit f49114aCopy full SHA for f49114a
cmd/samples/batch/workflow.go
@@ -49,6 +49,7 @@ func BatchWorkflow(ctx workflow.Context, input BatchWorkflowInput) error {
49
})
50
futures.Send(ctx, workflow.ExecuteActivity(aCtx, BatchActivity, taskID))
51
}
52
+ // close the channel to signal the task result collector that no more tasks are coming
53
futures.Close()
54
55
wg.Wait(ctx)
0 commit comments