MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / FirstError

Method FirstError

libs/async/async.go:110–117  ·  view source on GitHub ↗

Returns the firstmost (by task index) error as discovered by all previous Reap() calls.

()

Source from the content-addressed store, hash-verified

108// Returns the firstmost (by task index) error as
109// discovered by all previous Reap() calls.
110func (trs *TaskResultSet) FirstError() error {
111 for _, result := range trs.results {
112 if result.Error != nil {
113 return result.Error
114 }
115 }
116 return nil
117}
118
119//----------------------------------------
120// Parallel

Callers 6

makeSecretConnPairFunction · 0.80
shareEphPubKeyFunction · 0.80
shareAuthSignatureFunction · 0.80
makeSecretConnPairFunction · 0.80
TestParallelFunction · 0.80

Calls

no outgoing calls

Tested by 3

makeSecretConnPairFunction · 0.64
TestParallelFunction · 0.64