MCPcopy Create free account
hub / github.com/cel-expr/cel-go / RetryBackoff

Function RetryBackoff

cel/async/async.go:160–164  ·  view source on GitHub ↗

RetryBackoff sets the fixed backoff duration between attempts.

(backoff time.Duration)

Source from the content-addressed store, hash-verified

158
159// RetryBackoff sets the fixed backoff duration between attempts.
160func RetryBackoff(backoff time.Duration) RetryOption {
161 return func(c *retryConfig) {
162 c.backoff = backoff
163 }
164}
165
166// RetryableError is an interface that errors can implement to signal whether they are retryable.
167type RetryableError interface {

Calls

no outgoing calls