File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 ;
168168var 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 ;
175175var 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 ;
183183var transformed = channel .Pipe (
184184 X , async value => /* transformation */ , N );
185185
You can’t perform that action at this time.
0 commit comments