mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 18:08:12 +00:00
Style fix
This commit is contained in:
@@ -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() }
|
||||
}
|
||||
|
Reference in New Issue
Block a user