Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
172 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: dispatchAsync
  3. # key: dispatchAsync
  4. # --
  5. DispatchQueue.global(qos: .default).async {
  6. $1
  7. DispatchQueue.main.async {
  8. $0
  9. }
  10. }