RingChannel uses two channels input and output in a way that never blocks the input. If a new value gets added to a RingChannel's input when its buffer is full then the oldest value in the output channel gets removed to make room (just like a standard ring-buffer).
-
Notifications
You must be signed in to change notification settings - Fork 0
Ring a circular buffer implemented as two channels in golang
License
msays2000/ring
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Ring a circular buffer implemented as two channels in golang
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published