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 -
fetchICSEvents(context:Asynchronous) Gets the schedule from sched.com’s
.icsexport. 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]?
View on GitHub