public Task SaveNextRun(ScheduledJob job, DateTimeOffset nextRun) { _nextRuns.AddOrUpdate(job.Id, nextRun, (s, time) => nextRun); return(Task.CompletedTask); }
public Task TrackResult(ScheduledJob job, Exception exception) { return(Task.CompletedTask); }
private static Request Create(ScheduledJob job) { return(new ScheduledJobRequest(job)); }