SwiftQueueManager

public final class SwiftQueueManager

Global manager to perform operations on all your queues/ You will have to keep this instance. We highly recommend you to store this instance in a Singleton Creating and instance of this class will automatically un-serialize your jobs and schedule them

  • Allow jobs in queue to be executed.

    Declaration

    Swift

    public var isSuspended: Bool { get set }
  • All operations in all queues will be removed

    Declaration

    Swift

    public func cancelAllOperations()
  • All operations with this tag in all queues will be removed

    Declaration

    Swift

    public func cancelOperations(tag: String)
  • All operations with this uuid in all queues will be removed

    Declaration

    Swift

    public func cancelOperations(uuid: String)
  • Blocks the current thread until all of the receiver’s queued and executing operations finish executing.

    Declaration

    Swift

    public func waitUntilAllOperationsAreFinished()
  • number of queue

    Declaration

    Swift

    public func queueCount() -> Int
  • number of jobs for all queues

    Declaration

    Swift

    public func jobCount() -> Int