type go.pact.im/x/task.CancelCondition
9 uses
go.pact.im/x/task (current package)
cond.go#L4: type CancelCondition func(err error) (cancel bool)
cond.go#L8: func CancelOnError() CancelCondition {
cond.go#L18: func CancelOnReturn() CancelCondition {
cond.go#L28: func NeverCancel() CancelCondition {
executor.go#L14: Execute(ctx context.Context, cond CancelCondition, tasks ...Task) error
executor.go#L20: group func(cond CancelCondition, tasks ...Task) Task
executor.go#L34: func (e *executor) Execute(ctx context.Context, cond CancelCondition, tasks ...Task) error {
task.go#L37: func Sequential(cond CancelCondition, tasks ...Task) Task {
task.go#L64: func Parallel(cond CancelCondition, tasks ...Task) Task {