hi!
thanks for helping.
just asking, i just need to create a new session id, like uuid. it says this is the simple use case, but i dont get it. what do i do with the lock? i just want to add a new unique id if it doesn't exist , how do i do it?
Sounds like this might not be the right library for you, as you don't need a lock at all. If you want a unique session id in redis, I'd suggest using one of the following based on your env:
hi! thanks for helping. just asking, i just need to create a new session id, like uuid. it says this is the simple use case, but i dont get it. what do i do with the lock? i just want to add a new unique id if it doesn't exist , how do i do it?
thanks so much! ciao!