diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-09-15 11:45:04 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-09-15 11:45:04 -0400 |
| commit | abdfc41f64938dc77a23e35db2768e46e19f6d18 (patch) | |
| tree | 651492ebaf9fd3d90834ca2f1f5499ec1d315480 /queue.go | |
| parent | a26dcba10a0d02a2e74784d87d93f5f5e53c5c24 (diff) | |
| download | share-abdfc41f64938dc77a23e35db2768e46e19f6d18.zip | |
Diffstat (limited to 'queue.go')
| -rw-r--r-- | queue.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -8,8 +8,7 @@ package share type Queue[T any] struct { // Sending to Enqueue adds an element to the back of the Queue // and never blocks. - Enqueue chan<-T - + Enqueue chan<- T // Receiving from Dequeue removes an element from the front // of the queue or, if the queue is empty, blocks until an element |