package
Version:
v0.0.0-...-ea15551
Opens a new window with list of versions in this module.
Published: May 20, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Consumer[T any] interface {
Consume([]T)
}
type GGQ[T any] struct {
}
Awake the queue if its in the idle state.
func (q *GGQ[T]) Consume(lower, upper uint32)
ReadN gives way better performance, due to batching messages with
lock os thread.
func (q *GGQ[T]) Write(val T)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.