- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,181 for Await (0.05 sec)
-
android/guava/src/com/google/common/util/concurrent/ForwardingCondition.java
abstract class ForwardingCondition implements Condition { abstract Condition delegate(); @Override public void await() throws InterruptedException { delegate().await(); } @Override public boolean await(long time, TimeUnit unit) throws InterruptedException { return delegate().await(time, unit); } @Override public void awaitUninterruptibly() { delegate().awaitUninterruptibly(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
/** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */ @J2ktIncompatible @GwtIncompatible // concurrency public static void awaitUninterruptibly(CountDownLatch latch) { boolean interrupted = false; try { while (true) { try { latch.await(); return; } catch (InterruptedException e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 14.4K bytes - Viewed (0) -
docs_src/app_testing/tutorial002.py
app = FastAPI() @app.get("/") async def read_main(): return {"msg": "Hello World"} @app.websocket("/ws") async def websocket(websocket: WebSocket): await websocket.accept() await websocket.send_json({"msg": "Hello WebSocket"}) await websocket.close() def test_read_main(): client = TestClient(app) response = client.get("/") assert response.status_code == 200
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Feb 08 10:23:07 UTC 2023 - 757 bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Uninterruptibles.java
/** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */ @J2ktIncompatible @GwtIncompatible // concurrency public static void awaitUninterruptibly(CountDownLatch latch) { boolean interrupted = false; try { while (true) { try { latch.await(); return; } catch (InterruptedException e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 18.7K bytes - Viewed (0) -
docs/en/docs/async.md
```Python burgers = await get_burgers(2) ``` The key here is the `await`. It tells Python that it has to wait ⏸ for `get_burgers(2)` to finish doing its thing 🕙 before storing the results in `burgers`. With that, Python will know that it can go and do something else 🔀 ⏯ in the meanwhile (like receiving another request).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 00:24:48 UTC 2024 - 23K bytes - Viewed (0) -
docs/pt/docs/async.md
# Concorrência e async / await Detalhes sobre a sintaxe `async def` para *funções de operação de rota* e alguns conceitos de código assíncrono, concorrência e paralelismo. ## Com pressa? <abbr title="muito longo; não li"><strong>TL;DR:</strong></abbr> Se você estiver utilizando bibliotecas de terceiros que dizem para você chamar as funções com `await`, como: ```Python results = await some_library() ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 22.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/WorkQueue.java
* in the {@link ProcessWorkerSpec}. If no idle daemons are available, a new daemon will be started. Any errors * will be thrown from {@link #await()} or from the surrounding task action if {@link #await()} is not used. */ <T extends WorkParameters> void submit(Class<? extends WorkAction<T>> workActionClass, Action<? super T> parameterAction); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultDynamicCallContextTrackerTest.groovy
tracker.enterDynamicCall(latch1) latch1.countDown() latch2.await() tracker.leaveDynamicCall(latch1) latch3.countDown() } Runnable work2 = { latch1.await() tracker.enterDynamicCall(latch2) latch2.countDown() latch3.await() tracker.leaveDynamicCall(latch2) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 14 11:11:17 UTC 2022 - 2.8K bytes - Viewed (0) -
docs/es/docs/async.md
# Concurrencia y async / await Detalles sobre la sintaxis `async def` para *path operation functions* y un poco de información sobre código asíncrono, concurrencia y paralelismo. ## ¿Tienes prisa? <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr> Si estás utilizando libraries de terceros que te dicen que las llames con `await`, del tipo: ```Python results = await some_library() ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 24.9K bytes - Viewed (0) -
docs/en/docs/js/custom.js
async function getDataBatch(page) { const response = await fetch(`https://api.github.com/search/repositories?q=topic:fastapi&per_page=100&page=${page}`, { headers: { Accept: 'application/vnd.github.mercy-preview+json' } }) const data = await response.json() return data } async function getData() { let page = 1 let data = [] let dataBatch = await getDataBatch(page) data = data.concat(dataBatch.items)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 08 17:50:56 UTC 2021 - 6.6K bytes - Viewed (0)