package
Version:
v1.21.17
Opens a new window with list of versions in this module.
Published: Dec 30, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Queue[T any] struct {
}
func (q *Queue[T]) Done() <-chan struct{}
func (q *Queue[T]) HasStopped() <-chan struct{}
func (q *Queue[T]) Stop()
type QueueConfig[T any] struct {
Handler func([]T)
FlushInterval time.Duration
FlushCount int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.