#import <FutureWatcher.h>
FutureWatcher class provides the means to monitor a module task through an object conforming to Future protocol by notifying the delegate that adopts FutureWatcherDelegate protocol
◆ setTimeInterval:()
+ (void) setTimeInterval: |
|
(NSTimeInterval) |
ti |
|
Sets the interval at which the watchers should check for module task state changes.
- Note
- Future watcher's time interval default value is 0.1 seconds.
- Parameters
-
ti | The time interval to set |
◆ delegate
- (id<FutureWatcherDelegate>) delegate |
|
readwritenonatomicweak |
The delegate adopting FutureWatcherDelegate protocol that will be notified of module task state changes
◆ future
The object which represents the module task that needs monitoring and that conforms to Future protocol
The documentation for this class was generated from the following file: