Race
/race Tier 3
Hedged execution: run N variants concurrently, the first success wins, losing attempts are cancelled. If all fail, returns the last error. Useful for hedged requests against read replicas or multi-region endpoints.
Signature
action contractfunc Race[Req, Res any](ctx, act *BuiltAction[Req, Res], reqs []Req) (Res, error)