NumRetries returns the number of retries so far
()
| 70 | |
| 71 | // NumRetries returns the number of retries so far |
| 72 | func (b *Backoff) NumRetries() int { |
| 73 | return b.numRetries |
| 74 | } |
| 75 | |
| 76 | // Wait sleeps for the backoff time then increases the retry count and backoff time |
| 77 | // Returns immediately if Context is terminated |
no outgoing calls
no test coverage detected