1
0
mirror of synced 2024-11-21 20:46:07 +03:00
symfony-beanstalkd-messenger/Storage/LockStorageInterface.php

12 lines
297 B
PHP
Raw 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;
}