MCPcopy
hub / github.com/cortexlabs/cortex / RunFirstErr

Function RunFirstErr

pkg/lib/parallel/parallel.go:60–63  ·  view source on GitHub ↗
(fn func() error, fns ...func() error)

Source from the content-addressed store, hash-verified

58}
59
60func RunFirstErr(fn func() error, fns ...func() error) error {
61 errs := Run(fn, fns...)
62 return errors.FirstError(errs...)
63}

Callers 15

ListRegionsMethod · 0.92
StreamDockerLogsFunction · 0.92
DeleteAPIFunction · 0.92
GetAPIsFunction · 0.92
DeleteAPIFunction · 0.92
DeleteAPIFunction · 0.92
deleteS3ResourcesFunction · 0.92
deleteK8sResourcesFunction · 0.92
DeleteAPIFunction · 0.92
deleteS3ResourcesFunction · 0.92
deleteK8sResourcesFunction · 0.92

Calls 2

FirstErrorFunction · 0.92
RunFunction · 0.70

Tested by

no test coverage detected