SwiftprotocolWorkflowKit

protocol WorkflowKit.Scheduler

Members 6

  1. funcmethod descriptor for static nonrepeatingRequest(for: String) -> WorkflowKit.SchedulingRequest
  2. funcmethod descriptor for static repeatingRequest(for: String) -> WorkflowKit.SchedulingRequest
  3. funcmethod descriptor for cancel(identifier: String) throws -> ()
  4. funcmethod descriptor for checkIn(identifier: String, perform: (WorkflowKit.TaskHandle) -> ()) throws -> ()
  5. funcmethod descriptor for isScheduled(identifier: String) -> Bool
  6. funcmethod descriptor for runWhenAppropriate(request: WorkflowKit.SchedulingRequest) throws -> ()
protocol Scheduler {
    func checkIn(identifier: Swift.String, perform: @escaping (_: any WorkflowKit.TaskHandle) -> ()) throws
    func runWhenAppropriate(request: any WorkflowKit.SchedulingRequest) throws
    func cancel(identifier: Swift.String) throws
    func isScheduled(identifier: Swift.String) -> Swift.Bool

    static func nonrepeatingRequest(for: Swift.String) -> any WorkflowKit.SchedulingRequest
    static func repeatingRequest(for: Swift.String) -> any WorkflowKit.SchedulingRequest
}