Skip to content

Commit aee8120

Browse files
Document non-retryable iterator exhaustion callback behavior
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent fdf8197 commit aee8120

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ Polling callback contracts are also validated:
146146
- Cancellation exceptions are treated as non-retryable and are surfaced immediately.
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.
149+
- Iterator exhaustion callback errors (`StopIteration` / `StopAsyncIteration`) are treated as non-retryable and surfaced immediately.
149150

150151
Example:
151152

0 commit comments

Comments
 (0)