Skip to content

Commit 435770f

Browse files
Document fail-fast behavior for async loop runtime errors
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent f8c8500 commit 435770f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Polling callback contracts are also validated:
147147
- Callback contract violations and callback execution failures fail fast with explicit callback-specific errors.
148148
- Reused coroutine callback errors (e.g. `cannot reuse already awaited coroutine`) are treated as non-retryable and surfaced immediately.
149149
- Iterator exhaustion callback errors (`StopIteration` / `StopAsyncIteration`) are treated as non-retryable and surfaced immediately.
150+
- Async loop contract runtime errors (e.g. `Future attached to a different loop`, `Event loop is closed`) are treated as non-retryable and surfaced immediately.
150151

151152
Example:
152153

0 commit comments

Comments
 (0)