We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 109e2fc commit 937f5afCopy full SHA for 937f5af
1 file changed
Tests/SwiftyTimerTests/main.swift
@@ -62,10 +62,18 @@ class AppDelegate: NSObject, NSApplicationDelegate {
62
fired = true
63
}
64
65
- timer4.start(runLoop: NSRunLoop.currentRunLoop(), modes: NSDefaultRunLoopMode)
+ timer4.start()
66
67
-
+
68
func test6() {
69
+ let timer = NSTimer.new(after: 0.1.seconds) {
70
+ self.test7()
71
+ }
72
73
+ timer.start(modes: NSDefaultRunLoopMode, NSEventTrackingRunLoopMode, runLoop: NSRunLoop.currentRunLoop())
74
75
76
+ func test7() {
77
NSTimer.after(0.1.seconds, done)
78
79
0 commit comments