rslock
rslock copied to clipboard
feat: implement auto-extending `using` API in tokio
Similar to the using API in redlock - https://www.npmjs.com/package/redlock#usage
rl.using("resource", ttl, async || {
// ...
}).await?;