We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43adc5a commit c9bf35aCopy full SHA for c9bf35a
WebDriverAgentLib/Categories/NSRunLoop+Monotonic.h
@@ -1,5 +1,14 @@
1
#import <Foundation/Foundation.h>
2
3
@interface NSRunLoop (Monotonic)
4
+/**
5
+ Runs the current run loop in the default mode for the specified monotonic time interval.
6
+
7
+ This method uses a monotonic clock to ensure the interval is not affected
8
+ by changes to the system clock. The run loop will repeatedly process events
9
+ until the given number of seconds has elapsed.
10
11
+ @param seconds The duration, in seconds, to run the run loop.
12
+ */
13
- (void)runForMonotonicInterval:(NSTimeInterval)seconds;
14
@end
0 commit comments