MainDispatchQueue

public struct MainDispatchQueue : AsyncBlockPerformer

An uninhabited type conforming to AsyncBlockPerformer which dispatches to DispatchQueue.main

  • Creates a new instance

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public func asyncPerform(_ block: @escaping () -> Void)