Allow to set a cache option when polling for an abortion request #1083
Labels
Issue appropriate for: newcomers 🤩
This issue can be safely tackled by people who never worked in this project before
Issue contains: Some documentation 📚
This issues involves writing some documentation
Issue contains: Some Python 🐍
This issue involves writing some Python code
Issue type: Feature ⭐️
Add a new feature that didn't exist before
It might be easier for users if we implemented say
def should_abort(cache=10)
that would cache the answer for 10 seconds. This way, one may call the method as often as they wish. The default time could be a worker param.Originally posted by @ewjoachim in #1081 (comment)
The text was updated successfully, but these errors were encountered: