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