Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(docs-retry): add `retryWith` option (#3410)

authored by

Jovi De Croock and committed by
GitHub
bba42048 f596dd31

+1
+1
docs/api/retry-exchange.md
··· 26 26 | `randomDelay` | Allows the randomized delay described above to be disabled. When this option is set to `false` there will be exactly a `initialDelayMs` wait between each retry. | 27 27 | `maxNumberAttempts` | Allows the max number of retries to be defined. | 28 28 | `retryIf` | Apply a custom test to the returned error to determine whether it should be retried. | 29 + | `retryWith` | Apply a transform function allowing you to selectively replace a retried `Operation` or return a nullish value. This will act like `retryIf` where a truthy value retries (`retryIf` takes precedence and overrides this function.) |