xref: /expo/packages/expo-task-manager/ios/EXTaskManager/EXTaskExecutionRequest.h (revision 9de60485)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018-present 650 Industries. All rights reserved.
2 
3 #import <Foundation/Foundation.h>
4 #import <ExpoModulesCore/EXTaskInterface.h>
5 #import <UMAppLoader/UMAppLoaderInterface.h>
6 
7 NS_ASSUME_NONNULL_BEGIN
8 
9 @interface EXTaskExecutionRequest : NSObject
10 
11 @property (nonatomic, strong) void(^callback)(NSArray * _Nonnull results);
12 
13 - (instancetype)initWithCallback:(void(^)(NSArray * _Nonnull results))callback;
14 
15 - (void)addTask:(nonnull id<EXTaskInterface>)task;
16 - (void)task:(nonnull id<EXTaskInterface>)task didFinishWithResult:(id)result;
17 - (BOOL)isIncludingTask:(nullable id<EXTaskInterface>)task;
18 - (void)maybeEvaluate;
19 
20 @end
21 
22 NS_ASSUME_NONNULL_END
23 

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026