MCPcopy Index your code
hub / github.com/celzero/firestack / Race

Function Race

intra/core/async.go:191–237  ·  view source on GitHub ↗

Race runs all the functions in fs concurrently and returns the first non-error result. Returned values are the result, the index of the function that returned the result, and any errors. If all functions return an error, the accumulation of it is returned. Panicking functions are considered as retur

(who string, timeout time.Duration, fs ...WorkCtx[T])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

ReachesFunction · 0.92
dialMethod · 0.92
AnnounceMethod · 0.92
AcceptMethod · 0.92
ProbeMethod · 0.92

Calls 4

GgFunction · 0.85
errPanicFunction · 0.85
JoinErrFunction · 0.85
DoneMethod · 0.80

Tested by

no test coverage detected