eSAMTrade / retry

easy to use retry decorator in python
Other
28 stars 9 forks source link

Add support for asynchronous functions #9

Open alteralt opened 1 year ago

asuiu commented 1 year ago

@alteralt Thanks for issue submission.

Can you please give some examples on how you'd expect it to work?

asaf-kali commented 6 months ago

Hi @asuiu,

I'v added a POC implementation for asyncio support. The problem with it is that is makes the package incompatible with non-async syntax, but it works as you would expect (added example in the PR).