UpdateScheduleJobBase

class UpdateScheduleJobBase

Base class for the Sched schedule update job. This is common between the AsyncScheduledJob and AsyncJob.

  • execute(context:) Asynchronous

    Declaration

    Swift

    static func execute(context: QueueContext) async throws
  • Gets the schedule from sched.com’s .ics export. Used when there’s no Sched API key. Returns nil if there’s no schedule URL to fetch from.

    Declaration

    Swift

    private static func fetchICSEvents(context: QueueContext) async throws -> [Event]?