# -*- mode: snippet -*-
|
|
# name: dispatchAfter
|
|
# key: dispatchAfter
|
|
# --
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds($1)) {
|
|
$0
|
|
}
|