Style fix

This commit is contained in:
Arkadiusz Fal
2024-02-01 23:51:41 +01:00
parent 05b25b65bc
commit 39a109216b
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import Foundation
struct Delay {
enum Delay {
@discardableResult static func by(_ interval: TimeInterval, block: @escaping () -> Void) -> Timer {
Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { _ in block() }
}