1
0
mirror of synced 2024-11-22 04:56:07 +03:00
symfony-beanstalkd-messenger/Storage/LockStorageInterface.php
2023-10-02 12:41:35 +03:00

12 lines
297 B
PHP

<?php
namespace RetailCrm\Messenger\Beanstalkd\Storage;
interface LockStorageInterface
{
// "true" if the lock is installed (this means there is no duplicate of this message in the queue)
public function setLock(string $key): bool;
public function releaseLock(string $key): bool;
}