1
0
mirror of synced 2024-11-24 22:16:10 +03:00
symfony-beanstalkd-messenger/Storage/LockStorageInterface.php

12 lines
297 B
PHP
Raw Permalink Normal View History

<?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;
}