System/Library/PrivateFrameworks/PhotoLibraryServices.framework
PLMomentGenerationThrottle.h
Download PLMomentGenerationThrottle.h
@class NSString, NSObject;
@protocol OS_dispatch_queue, PLMomentGenerationThrottleTimeProvider;
@interface PLMomentGenerationThrottle : NSObject {
BOOL _canDelayAnyQOS;
id /* block */ _targetBlock;
NSString *_name;
NSObject<OS_dispatch_queue> *_targetQueue;
_Atomic BOOL _shouldRunAgain;
_Atomic BOOL _isExecutingOrConsideringExecution;
double _lastRunDuration;
double _lastRunEndTime;
double _nextExpectedRun;
}
@property (readonly, nonatomic) id<PLMomentGenerationThrottleTimeProvider> timeProvider;
@property (nonatomic) BOOL singleThreaded;
- (void)update;
- (void)_doAsyncUpdateWithCompletionBlock:(id /* block */)a0 tryAgainLaterBlock:(id /* block */)a1 tryAgainAfterCurrentExecutionBlock:(id /* block */)a2;
- (BOOL)isIdle;
- (id)initWithName:(id)a0 canDelayAnyQOS:(BOOL)a1 singleThreadedMode:(BOOL)a2 timeProvider:(id)a3 targetQueue:(id)a4 target:(id /* block */)a5;
- (void).cxx_destruct;
@end