2026-03-05 08:26:51 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace MintyPHP\Repository\Scheduler;
|
|
|
|
|
|
2026-03-13 21:58:51 +01:00
|
|
|
/** Contract for scheduler daemon heartbeat and runtime status. */
|
2026-03-05 08:26:51 +01:00
|
|
|
interface SchedulerRuntimeRepositoryInterface
|
|
|
|
|
{
|
|
|
|
|
public function touchHeartbeat(string $result, ?string $errorCode = null, ?string $heartbeatAtUtc = null): bool;
|
|
|
|
|
|
|
|
|
|
public function findStatus(): ?array;
|
|
|
|
|
}
|