While I was making some changes to unMessage, I had to use a Lock for encryption because I removed the queue that synchronized it. I noticed it would be useful to leave it up to pyaxo to sync these methods so that applications would not have to worry about it.
I made a @sync decorator to use the instance's own lock attribute so that we do not even have to move code into with blocks. Do you think that would be useful?
While I was making some changes to unMessage, I had to use a
Lock
for encryption because I removed the queue that synchronized it. I noticed it would be useful to leave it up to pyaxo to sync these methods so that applications would not have to worry about it.I made a
@sync
decorator to use the instance's ownlock
attribute so that we do not even have to move code intowith
blocks. Do you think that would be useful?Thanks!