ThreadQueue

public protocol ThreadQueue

A thread queue which can dispatch a closure according to the queue type.

  • The queue name.

    Declaration

    Swift

    var name: String
  • The queue type.

    Declaration

    Swift

    var type: Threading.QueueType
  • Execute the given closure within the queue’s thread.

    Declaration

    Swift

    func dispatch(_ closure: Threading.ThreadClosure)