Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/expo/tools/
H A Dtaskfile.js4 export async function build(task, opts) { argument
6 await task
14 await task
21 export default async function (task) { argument
22 await task.clear('build');
23 await task.start('build', { dev: true });
26 export async function watch(task) { argument
28 await task.clear('build');
29 await task.start('build', opts);
36 export async function release(task) { argument
[all …]
/expo/packages/@expo/cli/
H A Dtaskfile.js4 export async function bin(task, opts) { argument
5 await task
11 export async function cli(task, opts) { argument
12 await task
20 export async function build(task, opts) { argument
21 await task.parallel(['cli', 'bin'], opts);
24 export default async function (task) { argument
26 await task.clear('build');
27 await task.start('build', opts);
29 await task.watch('bin/*', 'bin', opts);
[all …]
/expo/tools/src/vendoring/devmenu/
H A DPipe.ts9 task: Task;
55 tasks.forEach((task) => {
56 if (typeof task === 'string') {
57 currentPlatform = task as Platform;
61 if (Array.isArray(task)) {
63 ...task.map((t) => ({ platform: currentPlatform, task: t }))
68 this.platformSpecificTasks.push({ platform: currentPlatform, task });
94 .map(({ task }) => task);
96 for (const task of tasks) { constant
98 task.setWorkingDirectory(this.workingDirectory);
[all …]
/expo/tools/src/
H A DTasksRunner.ts55 taskSucceeded?: (task: Task<Args>) => void;
192 tasks: this.tasks.map((task) => task.name),
193 resolvedTasks: this.resolvedTasks.map((task) => task.name),
194 lastTask: task.name,
215 ? this.resolvedTasks.findIndex((task) => task.name === backup.lastTask) + 1
229 for (const task of tasks) { constant
247 this.taskFailed?.(task, error);
251 this.taskSucceeded?.(task);
253 if (task.backupable) {
324 list.add(task);
[all …]
/expo/packages/expo-task-manager/ios/EXTaskManager/
H A DEXTaskService.m64 return task != nil;
114 if (!task) {
137 [self _removeTaskFromConfig:task.name appId:task.appId];
215 [request task:task didFinishWithResult:result];
283 NSLog(@"EXTaskService: Executing task '%@' for app '%@'.", task.name, task.appId);
298 [self _loadAppWithId:task.appId appUrl:task.appUrl];
392 [appTasks setObject:task forKey:task.name];
394 [task.consumer didRegisterTask:task];
395 return task;
399 * Modifies existing config of registered task with given task.
[all …]
/expo/ios/versioned/sdk47/EXTaskManager/EXTaskManager/
H A DABI47_0_0EXTaskService.m64 return task != nil;
114 if (!task) {
137 [self _removeTaskFromConfig:task.name appId:task.appId];
215 [request task:task didFinishWithResult:result];
283 NSLog(@"ABI47_0_0EXTaskService: Executing task '%@' for app '%@'.", task.name, task.appId);
298 [self _loadAppWithId:task.appId appUrl:task.appUrl];
392 [appTasks setObject:task forKey:task.name];
394 [task.consumer didRegisterTask:task];
395 return task;
399 * Modifies existing config of registered task with given task.
[all …]
/expo/ios/versioned/sdk49/EXTaskManager/EXTaskManager/
H A DABI49_0_0EXTaskService.m64 return task != nil;
114 if (!task) {
137 [self _removeTaskFromConfig:task.name appId:task.appId];
215 [request task:task didFinishWithResult:result];
283 NSLog(@"ABI49_0_0EXTaskService: Executing task '%@' for app '%@'.", task.name, task.appId);
298 [self _loadAppWithId:task.appId appUrl:task.appUrl];
392 [appTasks setObject:task forKey:task.name];
394 [task.consumer didRegisterTask:task];
395 return task;
399 * Modifies existing config of registered task with given task.
[all …]
/expo/ios/versioned/sdk48/EXTaskManager/EXTaskManager/
H A DABI48_0_0EXTaskService.m64 return task != nil;
114 if (!task) {
137 [self _removeTaskFromConfig:task.name appId:task.appId];
215 [request task:task didFinishWithResult:result];
283 NSLog(@"ABI48_0_0EXTaskService: Executing task '%@' for app '%@'.", task.name, task.appId);
298 [self _loadAppWithId:task.appId appUrl:task.appUrl];
392 [appTasks setObject:task forKey:task.name];
394 [task.consumer didRegisterTask:task];
395 return task;
399 * Modifies existing config of registered task with given task.
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI49_0_0primitives.h17 TaskWrapper(std::shared_ptr<Task> const &task) : task(task) {} in TaskWrapper()
19 std::shared_ptr<Task> task; member
24 std::shared_ptr<Task> task) { in valueFromTask() argument
26 runtime, std::make_shared<TaskWrapper>(task)); in valueFromTask()
36 return value.getObject(runtime).getHostObject<TaskWrapper>(runtime)->task; in taskFromValue()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI48_0_0primitives.h18 TaskWrapper(std::shared_ptr<Task> const &task) : task(task) {} in TaskWrapper()
20 std::shared_ptr<Task> task; member
25 std::shared_ptr<Task> const &task) { in valueFromTask() argument
27 runtime, std::make_shared<TaskWrapper>(task)); in valueFromTask()
37 return value.getObject(runtime).getHostObject<TaskWrapper>(runtime)->task; in taskFromValue()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI47_0_0primitives.h18 TaskWrapper(std::shared_ptr<Task> const &task) : task(task) {} in TaskWrapper()
20 std::shared_ptr<Task> task; member
25 std::shared_ptr<Task> const &task) { in valueFromTask() argument
27 runtime, std::make_shared<TaskWrapper>(task)); in valueFromTask()
37 return value.getObject(runtime).getHostObject<TaskWrapper>(runtime)->task; in taskFromValue()
/expo/packages/expo-file-system/ios/EXSessionTasks/
H A DEXTaskHandlersManager.m21 - (void)registerTask:(NSURLSessionTask *)task uuid:(NSString *)uuid
23 _resumableDownloads[uuid] = task;
33 NSURLSessionTask *task = [self taskForId:uuid];
34 if ([task isKindOfClass:[NSURLSessionDownloadTask class]]) {
35 return (NSURLSessionDownloadTask *)task;
43 NSURLSessionTask *task = [self taskForId:uuid];
44 if ([task isKindOfClass:[NSURLSessionUploadTask class]]) {
45 return (NSURLSessionDownloadTask *)task;
H A DEXSessionTaskDispatcher.m28 - (void)registerTaskDelegate:(EXSessionTaskDelegate *)delegate forTask:(NSURLSessionTask *)task
30 _tasks[task] = delegate;
51 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSEr…
54 EXSessionTaskDelegate *exTask = _tasks[task];
56 [exTask URLSession:session task:task didCompleteWithError:error];
57 [_tasks removeObjectForKey:task];
85 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task
91 EXSessionTaskDelegate *exTask = _tasks[task];
92 …[exTask URLSession:session task:task didSendBodyData:bytesSent totalBytesSent:totalBytesSent total…
/expo/ios/versioned/sdk47/EXFileSystem/EXFileSystem/EXSessionTasks/
H A DABI47_0_0EXTaskHandlersManager.m21 - (void)registerTask:(NSURLSessionTask *)task uuid:(NSString *)uuid
23 _resumableDownloads[uuid] = task;
33 NSURLSessionTask *task = [self taskForId:uuid];
34 if ([task isKindOfClass:[NSURLSessionDownloadTask class]]) {
35 return (NSURLSessionDownloadTask *)task;
43 NSURLSessionTask *task = [self taskForId:uuid];
44 if ([task isKindOfClass:[NSURLSessionUploadTask class]]) {
45 return (NSURLSessionDownloadTask *)task;
H A DABI47_0_0EXSessionTaskDispatcher.m28 …id)registerTaskDelegate:(ABI47_0_0EXSessionTaskDelegate *)delegate forTask:(NSURLSessionTask *)task
30 _tasks[task] = delegate;
51 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSEr…
54 ABI47_0_0EXSessionTaskDelegate *exTask = _tasks[task];
56 [exTask URLSession:session task:task didCompleteWithError:error];
57 [_tasks removeObjectForKey:task];
85 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task
91 ABI47_0_0EXSessionTaskDelegate *exTask = _tasks[task];
92 …[exTask URLSession:session task:task didSendBodyData:bytesSent totalBytesSent:totalBytesSent total…
/expo/ios/versioned/sdk49/EXFileSystem/EXFileSystem/EXSessionTasks/
H A DABI49_0_0EXTaskHandlersManager.m21 - (void)registerTask:(NSURLSessionTask *)task uuid:(NSString *)uuid
23 _resumableDownloads[uuid] = task;
33 NSURLSessionTask *task = [self taskForId:uuid];
34 if ([task isKindOfClass:[NSURLSessionDownloadTask class]]) {
35 return (NSURLSessionDownloadTask *)task;
43 NSURLSessionTask *task = [self taskForId:uuid];
44 if ([task isKindOfClass:[NSURLSessionUploadTask class]]) {
45 return (NSURLSessionDownloadTask *)task;
H A DABI49_0_0EXSessionTaskDispatcher.m28 …id)registerTaskDelegate:(ABI49_0_0EXSessionTaskDelegate *)delegate forTask:(NSURLSessionTask *)task
30 _tasks[task] = delegate;
51 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSEr…
54 ABI49_0_0EXSessionTaskDelegate *exTask = _tasks[task];
56 [exTask URLSession:session task:task didCompleteWithError:error];
57 [_tasks removeObjectForKey:task];
85 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task
91 ABI49_0_0EXSessionTaskDelegate *exTask = _tasks[task];
92 …[exTask URLSession:session task:task didSendBodyData:bytesSent totalBytesSent:totalBytesSent total…
/expo/ios/versioned/sdk48/EXFileSystem/EXFileSystem/EXSessionTasks/
H A DABI48_0_0EXTaskHandlersManager.m21 - (void)registerTask:(NSURLSessionTask *)task uuid:(NSString *)uuid
23 _resumableDownloads[uuid] = task;
33 NSURLSessionTask *task = [self taskForId:uuid];
34 if ([task isKindOfClass:[NSURLSessionDownloadTask class]]) {
35 return (NSURLSessionDownloadTask *)task;
43 NSURLSessionTask *task = [self taskForId:uuid];
44 if ([task isKindOfClass:[NSURLSessionUploadTask class]]) {
45 return (NSURLSessionDownloadTask *)task;
H A DABI48_0_0EXSessionTaskDispatcher.m28 …id)registerTaskDelegate:(ABI48_0_0EXSessionTaskDelegate *)delegate forTask:(NSURLSessionTask *)task
30 _tasks[task] = delegate;
51 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSEr…
54 ABI48_0_0EXSessionTaskDelegate *exTask = _tasks[task];
56 [exTask URLSession:session task:task didCompleteWithError:error];
57 [_tasks removeObjectForKey:task];
85 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task
91 ABI48_0_0EXSessionTaskDelegate *exTask = _tasks[task];
92 …[exTask URLSession:session task:task didSendBodyData:bytesSent totalBytesSent:totalBytesSent total…
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/tokens/
H A DPushTokenModule.java67 public void onComplete(@NonNull Task<String> task) { in getDevicePushTokenAsync()
68 if (!task.isSuccessful() || task.getResult() == null) { in getDevicePushTokenAsync()
69 if (task.getException() == null) { in getDevicePushTokenAsync()
72 …(REGISTRATION_FAIL_CODE, "Fetching the token failed: " + task.getException().getMessage(), task.ge… in getDevicePushTokenAsync()
77 String token = task.getResult(); in getDevicePushTokenAsync()
88 .addOnCompleteListener(task -> { in unregisterForNotificationsAsync()
89 if (!task.isSuccessful()) { in unregisterForNotificationsAsync()
90 if (task.getException() == null) { in unregisterForNotificationsAsync()
93 …_FAIL_CODE, "Unregistering for notifications failed: " + task.getException().getMessage(), task.ge… in unregisterForNotificationsAsync()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/tokens/
H A DPushTokenModule.java67 public void onComplete(@NonNull Task<String> task) { in getDevicePushTokenAsync()
68 if (!task.isSuccessful() || task.getResult() == null) { in getDevicePushTokenAsync()
69 if (task.getException() == null) { in getDevicePushTokenAsync()
72 …(REGISTRATION_FAIL_CODE, "Fetching the token failed: " + task.getException().getMessage(), task.ge… in getDevicePushTokenAsync()
77 String token = task.getResult(); in getDevicePushTokenAsync()
88 .addOnCompleteListener(task -> { in unregisterForNotificationsAsync()
89 if (!task.isSuccessful()) { in unregisterForNotificationsAsync()
90 if (task.getException() == null) { in unregisterForNotificationsAsync()
93 …_FAIL_CODE, "Unregistering for notifications failed: " + task.getException().getMessage(), task.ge… in unregisterForNotificationsAsync()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/tokens/
H A DPushTokenModule.java67 public void onComplete(@NonNull Task<String> task) { in getDevicePushTokenAsync()
68 if (!task.isSuccessful() || task.getResult() == null) { in getDevicePushTokenAsync()
69 if (task.getException() == null) { in getDevicePushTokenAsync()
72 …(REGISTRATION_FAIL_CODE, "Fetching the token failed: " + task.getException().getMessage(), task.ge… in getDevicePushTokenAsync()
77 String token = task.getResult(); in getDevicePushTokenAsync()
88 .addOnCompleteListener(task -> { in unregisterForNotificationsAsync()
89 if (!task.isSuccessful()) { in unregisterForNotificationsAsync()
90 if (task.getException() == null) { in unregisterForNotificationsAsync()
93 …_FAIL_CODE, "Unregistering for notifications failed: " + task.getException().getMessage(), task.ge… in unregisterForNotificationsAsync()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Network/
H A DABI47_0_0RCTHTTPRequestHandler.mm107 [_delegates setObject:delegate forKey:task];
108 [task resume];
109 return task;
116 [_delegates removeObjectForKey:task];
118 [task cancel];
124 task:(NSURLSessionTask *)task
132 delegate = [_delegates objectForKey:task];
138 task:(NSURLSessionTask *)task
160 delegate = [_delegates objectForKey:task];
178 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSEr…
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Network/
H A DABI48_0_0RCTHTTPRequestHandler.mm104 [_delegates setObject:delegate forKey:task];
105 [task resume];
106 return task;
113 [_delegates removeObjectForKey:task];
115 [task cancel];
121 task:(NSURLSessionTask *)task
129 delegate = [_delegates objectForKey:task];
135 task:(NSURLSessionTask *)task
157 delegate = [_delegates objectForKey:task];
173 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSEr…
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Network/
H A DABI49_0_0RCTHTTPRequestHandler.mm104 [_delegates setObject:delegate forKey:task];
105 [task resume];
106 return task;
113 [_delegates removeObjectForKey:task];
115 [task cancel];
121 task:(NSURLSessionTask *)task
129 delegate = [_delegates objectForKey:task];
135 task:(NSURLSessionTask *)task
157 delegate = [_delegates objectForKey:task];
173 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSEr…
[all …]

12345678910>>...18