Closed dduyVeritone closed 5 years ago
This is an excellent PR. Unfortunately, it feels to me like the wrong place to add this functionality. I always like backoff/retry functionality to live outside the client code. I could be convinced otherwise, perhaps we can get some other views? Have you seen this backoff package?
closing for now
Background
Often times, we need to retry graphql request in case of transient network issue. This change aims to add that retry capabilities if the library consumers want to.
Overview
LinearPolicy
ExponentialBackoffPolicy
Test