- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 208 for notifications (0.07 seconds)
-
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
Object key = new Object(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed); RemovalNotification<Object, Object> notification = listener.remove(); assertThat(notification.getKey()).isSameInstanceAs(key); assertThat(notification.getValue()).isSameInstanceAs(computed); assertThat(notification.getCause()).isEqualTo(RemovalCause.SIZE); assertThat(listener.isEmpty()).isTrue(); checkEmpty(cache); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
Object key = new Object(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed); RemovalNotification<Object, Object> notification = listener.remove(); assertThat(notification.getKey()).isSameInstanceAs(key); assertThat(notification.getValue()).isSameInstanceAs(computed); assertThat(notification.getCause()).isEqualTo(RemovalCause.SIZE); assertThat(listener.isEmpty()).isTrue(); checkEmpty(cache); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> { @Override public void onRemoval(RemovalNotification<K, V> notification) { add(notification); } } /** * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides * access to the most-recently received one. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 3.1K bytes - Click Count (0) -
fastapi/background.py
content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks): background_tasks.add_task(write_notification, email, message="some notification") return {"message": "Notification sent in the background"} ``` """Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.8K bytes - Click Count (0) -
tests/test_tutorial/test_background_tasks/test_tutorial001.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 583 bytes - Click Count (0) -
docs_src/background_tasks/tutorial001_py39.py
with open("log.txt", mode="w") as email_file: content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks): background_tasks.add_task(write_notification, email, message="some notification")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 519 bytes - Click Count (0) -
docs_src/openapi_callbacks/tutorial001_py39.py
* Collect the money from the client. * Send a notification back to the API user (the external developer), as a callback. * At this point is that the API will somehow send a POST request to the external API with the notification of the invoice event (e.g. "payment successful"). """ # Send the invoice, collect the money, send the notification (the callback)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> { @Override public void onRemoval(RemovalNotification<K, V> notification) { add(notification); } } /** * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides * access to the most-recently received one. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 3.1K bytes - Click Count (0) -
tests/test_sub_callbacks.py
* Collect the money from the client. * Send a notification back to the API user (the external developer), as a callback. * At this point is that the API will somehow send a POST request to the external API with the notification of the invoice event (e.g. "payment successful"). """ # Send the invoice, collect the money, send the notification (the callback) return {"msg": "Invoice received"}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 12.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/RemovalListener.java
* the License. */ package com.google.common.cache; import com.google.common.annotations.GwtCompatible; /** * An object that can receive a notification when an entry is removed from a cache. The removal * resulting in notification could have occurred to an entry being manually removed or replaced, or * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2K bytes - Click Count (0)