Commit 729b961
doc: further fix async iterator example
Further fixes an issue with the async iterator example where an
incorrect assumption was made in regards that drain or error
is always invoked after !write().
Fixes: #31365
PR-URL: #31367
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>1 parent 15b24b7 commit 729b961
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2644 | 2644 | | |
2645 | 2645 | | |
2646 | 2646 | | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
2647 | 2658 | | |
2648 | 2659 | | |
2649 | 2660 | | |
2650 | 2661 | | |
2651 | | - | |
2652 | | - | |
| 2662 | + | |
2653 | 2663 | | |
2654 | 2664 | | |
2655 | 2665 | | |
| |||
0 commit comments