Files
2021-05-30 07:50:05 +01:00

4 lines
141 B
Swift

func runLater(_ function: @escaping @Sendable () -> Void) {
DispatchQueue.global().asyncAfter(deadline: .now() + 3, execute: function)
}