<?php

declare(strict_types=1);

namespace PhpWA\Runtime;

/**
 * Application-owned generation/lease guard for a bounded PhpWA worker.
 * Implementations must keep each check bounded and must not log the snapshot.
 */
interface RunGuardInterface
{
    public function check(RunCheckpoint $checkpoint): void;
}
