Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 181) sorted by relevance

12345678

/expo/packages/expo-dev-launcher/bundle/functions/
H A DgetDevSessionsAsync.ts19 timeout,
24 timeout?: number;
29 const sessions = await fetchDevSessions(null, timeout);
34 const sessions = await fetchDevSessions(installationID, timeout);
68 export async function fetchDevSessions(installationID?: string | null, timeout?: number) {
77 if (timeout) {
80 timeout,
H A Ddebounce.ts2 let timeout: number | NodeJS.Timeout;
4 clearTimeout(timeout as number);
5 timeout = setTimeout(() => func(...args), delay);
/expo/packages/@expo/cli/src/utils/
H A Ddelay.ts4 export function delayAsync(timeout: number): Promise<void> {
5 return new Promise((resolve) => setTimeout(resolve, timeout));
41 timeout,
45 timeout: number;
53 }, timeout);
H A Dglob.ts51 const timeout = setTimeout(() => { constant
55 process.on('SIGINT', () => clearTimeout(timeout));
62 clearTimeout(timeout);
/expo/packages/@expo/cli/src/start/server/
H A DDevelopmentSession.ts20 protected timeout: NodeJS.Timeout | null = null; property in DevelopmentSession
80 this.timeout = setTimeout(() => this.startAsync({ exp, runtime }), UPDATE_FREQUENCY);
96 if (this.timeout) {
97 clearTimeout(this.timeout);
99 this.timeout = null;
H A DAsyncNgrok.ts71 async startAsync({ timeout }: { timeout?: number } = {}): Promise<void> {
91 this.serverUrl = await this._connectToNgrokAsync({ timeout });
107 options: { timeout?: number } = {},
124 timeout: options.timeout ?? TUNNEL_TIMEOUT,
/expo/apps/bare-expo/e2e/
H A DTestSuite-test.web.js36 timeout: MIN_TIME * 1.5, property
57 timeout: MIN_TIME, property
61 await matchID('test_suite_container', { visible: true, timeout: RENDER_MOUNTING_TIMEOUT }); property
63 await matchID('test_suite_final_results', { visible: true, timeout: MIN_TIME }); property
/expo/apps/test-suite/tests/
H A DLocation.js114 timeout
123 timeout
131 timeout
139 timeout
189 timeout
199 timeout
209 timeout
249 timeout
266 timeout
328 timeout
[all …]
H A Dhelpers.js48 export const mountAndWaitForWithTimeout = (child, propName = 'ref', setPortalChild, timeout) => argument
53 reject(new TimeoutError(`mountAndWaitFor did not resolve after ${timeout} ms.`));
54 }, timeout);
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/tests/
H A DABI49_0_0StubQueue.h50 bool waitForTask(std::chrono::duration<double> timeout) const { in waitForTask() argument
53 lock, timeout, [this]() { return !callbackQueue_.empty(); }); in waitForTask()
58 std::chrono::duration<double> timeout) const { in waitForTasks() argument
60 return signal_.wait_for(lock, timeout, [this, numberOfTasks]() { in waitForTasks()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/tests/
H A DABI48_0_0StubQueue.h50 bool waitForTask(std::chrono::duration<double> timeout) const { in waitForTask() argument
53 lock, timeout, [this]() { return !callbackQueue_.empty(); }); in waitForTask()
58 std::chrono::duration<double> timeout) const { in waitForTasks() argument
60 return signal_.wait_for(lock, timeout, [this, numberOfTasks]() { in waitForTasks()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/tests/
H A DABI47_0_0StubQueue.h50 bool waitForTask(std::chrono::duration<double> timeout) const { in waitForTask() argument
53 lock, timeout, [this]() { return !callbackQueue_.empty(); }); in waitForTask()
58 std::chrono::duration<double> timeout) const { in waitForTasks() argument
60 return signal_.wait_for(lock, timeout, [this, numberOfTasks]() { in waitForTasks()
/expo/packages/expo-test-runner/src/
H A DBundlerController.ts24 const killProcess: (pid: number, timeout: number) => Promise<void> = (pid, timeout) =>
37 if ((count += 100) > timeout) {
/expo/packages/expo-image-loader/android/src/main/java/expo/modules/imageloader/
H A DSimpleSettableFuture.java78 T get(long timeout, TimeUnit unit) in get() argument
80 if (!mReadyLatch.await(timeout, unit)) { in get()
107 T getOrThrow(long timeout, TimeUnit unit) { in getOrThrow() argument
109 return get(timeout, unit); in getOrThrow()
/expo/packages/expo-sensors/build/utils/
H A DisSensorEnabledAsync.web.js74 export async function assertSensorEventEnabledAsync(eventName, timeout) { argument
79 if (await isSensorEnabledAsync(eventName, timeout)) {
101 timeout = 250) { argument
114 }, timeout);
H A DisSensorEnabledAsync.web.d.ts6 export declare function assertSensorEventEnabledAsync(eventName: SensorEventName, timeout?: number)…
7 export declare function isSensorEnabledAsync(eventName: SensorEventName, timeout?: number): Promise…
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/imageloader/
H A DSimpleSettableFuture.java78 T get(long timeout, TimeUnit unit) in get() argument
80 if (!mReadyLatch.await(timeout, unit)) { in get()
107 T getOrThrow(long timeout, TimeUnit unit) { in getOrThrow() argument
109 return get(timeout, unit); in getOrThrow()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/imageloader/
H A DSimpleSettableFuture.java78 T get(long timeout, TimeUnit unit) in get() argument
80 if (!mReadyLatch.await(timeout, unit)) { in get()
107 T getOrThrow(long timeout, TimeUnit unit) { in getOrThrow() argument
109 return get(timeout, unit); in getOrThrow()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/imageloader/
H A DSimpleSettableFuture.java78 T get(long timeout, TimeUnit unit) in get() argument
80 if (!mReadyLatch.await(timeout, unit)) { in get()
107 T getOrThrow(long timeout, TimeUnit unit) { in getOrThrow() argument
109 return get(timeout, unit); in getOrThrow()
/expo/ios/Tests/AppLoader/
H A DEXAppLoaderConfigurationTests.m10 @property (nonatomic, readonly) NSTimeInterval timeout; property
37 …appLoader.appFetcher timeout] == kEXAppLoaderDefaultTimeout, @"AppFetcherWithTimeout should have t…
50 …hTimeout *)appLoader.appFetcher timeout] == 1.0f, @"AppFetcherWithTimeout should have the correct …
/expo/packages/expo-sensors/src/utils/
H A DisSensorEnabledAsync.web.ts119 timeout?: number
126 if (await isSensorEnabledAsync(eventName, timeout)) {
150 timeout: number = 250
166 }, timeout);
/expo/apps/native-component-list/src/utilities/
H A DuseResettingState.ts16 export default <T>(value: T | undefined, timeout: number) => {
24 timeout
/expo/packages/@expo/cli/src/api/rest/cache/
H A Dresponse.ts27 timeout: res.timeout,
/expo/packages/expo-modules-core/ios/Tests/
H A DPersistentFileLogSpec.swift57 wait(for: [expectation], timeout: 0.5) in clearEntriesSync()
65 wait(for: [expectation], timeout: 0.5) in filterEntriesSync()
73 wait(for: [expectation], timeout: 0.5) in appendEntrySync()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DPersistentFileLogSpec.swift57 wait(for: [expectation], timeout: 0.5) in clearEntriesSync()
65 wait(for: [expectation], timeout: 0.5) in filterEntriesSync()
73 wait(for: [expectation], timeout: 0.5) in appendEntrySync()

12345678