You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to the code of this project now, it's very interesting. I suggest you to add support for using of cancellation tokens as well as you can to describe simple timeouts as numbers.
Why could it be useful? If you're using cancellation tokens, you're abstracting the certain reason why the operation can be cancelled. It can be a simple timeout - why not, but also it can be an another reason.
I wrote a library for this kind of stuff - cantok. If it'll be useful, i can advise you how to use it correctly.
Hello!
I'm looking to the code of this project now, it's very interesting. I suggest you to add support for using of cancellation tokens as well as you can to describe simple timeouts as numbers.
Why could it be useful? If you're using cancellation tokens, you're abstracting the certain reason why the operation can be cancelled. It can be a simple timeout - why not, but also it can be an another reason.
I wrote a library for this kind of stuff - cantok. If it'll be useful, i can advise you how to use it correctly.
filelock/src/filelock/_api.py
Line 264 in 9048580
The text was updated successfully, but these errors were encountered: