Batch
Batch
bundles callback actions so they can be invoked concurrently using goroutines.
carapace.ActionCallback(func(c carapace.Context) carapace.Action {
return carapace.Batch(
carapace.ActionValues("A", "B"),
carapace.ActionValues("C", "D"),
carapace.ActionValues("E", "F"),
).Invoke(c).Merge().ToA()
})