Skip to content

Commit eded126

Browse files
2 parents a0f9270 + d6aa801 commit eded126

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,22 +164,22 @@ var transformed = channel.Pipe(
164164

165165
```cs
166166
// Transform values in a source channel to new unbounded channel with a max concurrency of X.
167-
const X = 4;
167+
const int X = 4;
168168
var transformed = channel.Pipe(
169169
X, async value => /* transformation */);
170170
```
171171

172172
```cs
173173
// Transform values in a source channel to new bounded channel bound of N entries.
174-
const N = 5;
174+
const int N = 5;
175175
var transformed = channel.Pipe(
176176
async value => /* transformation */, N);
177177
```
178178

179179
```cs
180180
// Transform values in a source channel to new bounded channel bound of N entries with a max concurrency of X.
181-
const X = 4;
182-
const N = 5;
181+
const int X = 4;
182+
const int N = 5;
183183
var transformed = channel.Pipe(
184184
X, async value => /* transformation */, N);
185185

0 commit comments

Comments
 (0)