Press n or j to go to the next uncovered block, b, p or k for the previous block.
export const timeToNextCheck = (nextFire: number, maxIntervalMs: number) => Math.max(0, Math.min(nextFire - Date.now(), maxIntervalMs));