Commit f1669c8
authored
Add backpressure aware async sequence (#1687)
Motivation:
Swift doesn't have a general purpose backpressure aware async sequence
yet. However, one has been pitched in SE-0406. While we can't use it
yet, we can vendor it in.
Modifications:
- Vendor in the code from SE-0406 with some minor modifications, such as
changing the name and making it internal
Result:
We have a backpressure aware async sequence.1 parent fdf0a81 commit f1669c8
File tree
5 files changed
+3069
-1
lines changed- Sources/GRPCCore/Streaming/Internal
- Tests/GRPCCoreTests
- Streaming/Internal
- Test Utilities
5 files changed
+3069
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| |||
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
| 226 | + | |
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
| |||
0 commit comments