tunnelkit/TunnelKit/Sources/AppExtension/Utils.swift
2018-08-23 12:10:56 +02:00

16 lines
337 B
Swift

//
// Utils.swift
// TunnelKit
//
// Created by Davide De Rosa on 5/23/18.
// Copyright © 2018 London Trust Media. All rights reserved.
//
import Foundation
extension DispatchQueue {
func schedule(after: DispatchTimeInterval, block: @escaping () -> Void) {
asyncAfter(deadline: .now() + after, execute: block)
}
}