tunnelkit/TunnelKit/Sources/AppExtension/Utils.swift

16 lines
337 B
Swift
Raw Normal View History

2018-08-23 08:19:25 +00:00
//
// Utils.swift
// TunnelKit
2018-08-23 08:19:25 +00:00
//
// 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)
}
}