Implement locking timeout
tshemsedinov opened this issue · 0 comments
tshemsedinov commented
await locks.request('A', { timeout: 5000 }, async () => {
// resource will be released if this function will not end before timeout
});
tshemsedinov opened this issue · 0 comments
await locks.request('A', { timeout: 5000 }, async () => {
// resource will be released if this function will not end before timeout
});