<?php

namespace MintyPHP\Repository\Scheduler;

/** Contract for scheduler daemon heartbeat and runtime status. */
interface SchedulerRuntimeRepositoryInterface
{
    public function touchHeartbeat(string $result, ?string $errorCode = null, ?string $heartbeatAtUtc = null): bool;

    public function findStatus(): ?array;
}
