This repository has been archived by the owner on Nov 24, 2024. It is now read-only.
What's Changed
- update deque by @gammazero in #5
- BREAKING Use functional options to
New
to configure channelqueue by @gammazero in #6- Add
WithCapacity
option to specify capacity - Add
WithInput
option to use existing channel as input channel. - Add
WithOutput
option to use existing channel as output channel. - Calling
New
without options defaults to unbounded
- Add
- Add
Shutdown
function to close and drainChannelQueue
- Allow multiple calls to
Close
andShutdown
Full Changelog: v0.2.2...v1.0.0