<?php

declare(strict_types=1);

namespace PhpWA\Runtime;

interface AccountLockProviderInterface
{
    /** Returns null immediately when another worker owns the account. */
    public function acquire(string $accountId): ?AccountLockInterface;
}
