package
Version:
v0.0.0-...-57fcf6d
Opens a new window with list of versions in this module.
Published: Nov 28, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Packge dirq provides a directory+files based multiple provider,
single consumer persistent queue.
type Queue struct {
Dir string
}
DequeueOne will call f on the first dequeueable message.
The message will be deleted iff f returns nil,
otherwise it remains in the queue.
Dequeue all the incoming messages, continuously.
Calls DequeueOne when a new message arrives (based on notification).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.