Skip to content

Commit 829ff43

Browse files
authored
Fix example
1 parent bd0ddde commit 829ff43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ async function takes(ch) {
144144
console.log(await ch.take()); // resolves to 3, from the third ch.put()
145145
}
146146

147-
puts(ch);
148-
takes(ch);
147+
puts(channel);
148+
takes(channel);
149149
```
150150

151151
### Buffering

0 commit comments

Comments
 (0)