1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 23:36:08 +03:00
vimr/SwiftNeoVim/DispatchUtils.swift
Tae Won Ha 79f34463a2
Replace open by public
- make things open when nec'.
2016-10-07 18:23:54 +02:00

16 lines
304 B
Swift

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
import Cocoa
public class DispatchUtils {
fileprivate static let qDispatchMainQueue = DispatchQueue.main
public static func gui(_ call: @escaping () -> Void) {
DispatchUtils.qDispatchMainQueue.async(execute: call)
}
}