Open Euphorbium opened 8 years ago
I just tried it myself, don't think it'll work with generators. Basically the retry library doesn't take effects if it's on a function yield stuff.
I have implemented generator support. Here it is the pull request:
https://github.com/rholder/retrying/pull/83
I am waiting for some feedback from retrying library author.
Given the feedback I received after a week, I wonder if there is still a maintainer of this project. @rholder could you please review the pull request?
Will this work with a generator, and would it be possible to resume retrying from the failed state in a generator, not from the beginning?