node-redlock icon indicating copy to clipboard operation
node-redlock copied to clipboard

Readme - new args for the using() example

Open mastazi opened this issue 5 months ago • 0 comments

Going trough the Readme, it made me think that senderId and recipientId were something specific to the redlock paradigm that I needed to know, instead they are just generic identifiers for the names of the locks, since this is a generic example I think it's better to use something generic like "foo" or "bar".

This is also in line with the next part of the readme, the "acquire" example which uses the string "a" which is clearly a generic identifier

mastazi avatar Aug 26 '24 03:08 mastazi