command
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Apr 26, 2026
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
¶
Example 12 — Priority queue: high-priority items jump the line.
Demonstrates:
- WithPriorityEnabled on a queue
- WithPriority(n) on each enqueue (lower n = higher priority)
- Items dispatch in priority order, not enqueue order
Run: go run .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.