Skip to content

Commit c9bf35a

Browse files
authored
add docstring
1 parent 43adc5a commit c9bf35a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
#import <Foundation/Foundation.h>
22

33
@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+
*/
413
- (void)runForMonotonicInterval:(NSTimeInterval)seconds;
514
@end

0 commit comments

Comments
 (0)