- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for move_on_after (0.07 seconds)
-
tests/test_stream_cancellation.py
"root_path": "", "headers": [], "server": ("test", 80), } with anyio.move_on_after(timeout) as cancel_scope: await app(scope, receive, send) # type: ignore[arg-type] # If we got here within the timeout the generator was cancellable. # cancel_scope.cancelled_caught is True when move_on_after fired. return cancel_scope.cancelled_caught or len(chunks) > 0
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0)