Merge pull request #45 from c0dehu1k/issue#44

Unbuffered channel
This commit is contained in:
Teiva Harsanyi 2023-10-05 19:36:01 +02:00 committed by GitHub
commit 024e4364f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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() {