Unbuffered channel

This commit is contained in:
Sunil Joshi 2023-10-05 21:03:35 +05:30
parent bfd5c81e86
commit 1708b80ca9

View file

@ -1527,7 +1527,7 @@ In summary, lets be mindful that a goroutine is a resource like any other tha
One common mistake made by Go developers while working with channels is to make wrong assumptions about how select behaves with multiple channels.
For example, let's consider the following case (`disconnectCh` is a buffered channel):
For example, let's consider the following case (`disconnectCh` is a unbuffered channel):
```go
go func() {