1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00
vimr/SwiftNeoVim/DispatchUtils.swift
2016-06-27 18:42:35 +02:00

16 lines
301 B
Swift

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
import Foundation
public class DispatchUtils {
private static let qDispatchMainQueue = dispatch_get_main_queue()
public static func gui(call: () -> Void) {
dispatch_async(DispatchUtils.qDispatchMainQueue, call)
}
}