Comments (9)
Thank you, I will fix that. :)
from dio_retry.
Thank you, I will fix that. :)
You are welcome and thank you for a useful module!
from dio_retry.
Sorry but when you release this fix on Pub?
from dio_retry.
var shouldRetry = extra.retries > 0 && await options.retryEvaluator(err);
where to change this
from dio_retry.
i have tried but the function api is nhi been
retries
from dio_retry.
on 404 it only retries only once
from dio_retry.
I fixed this in my branch by manually applying the PR. Here's how to use it in your project. You can use my patched version by adding this to your pubspec.yaml instead of the existing dio_retry
package.
dio_retry:
git:
url: https://github.com/lewcianci/dio_retry.git
path: dio_retry
from dio_retry.
I also removed the dependency on logger
in my fork. I prefer a more generic callback.
EDIT: I bit the bullet and published it to pub dev, you can grab it here if you want: https://pub.dev/packages/dio_retry_fixed
from dio_retry.
@aloisdeniel any idea when you can get this fixed? Would be awesome to have it on prod
from dio_retry.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dio_retry.