Documentation ¶ Index ¶ type Queue func (q *Queue) Submit(task func()) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Queue ¶ type Queue struct { // contains filtered or unexported fields } Queue runs submitted tasks in submission order without blocking the caller. A task may block on the underlying stream; only the queue worker waits for it. func (*Queue) Submit ¶ func (q *Queue) Submit(task func()) Source Files ¶ View all Source files queue.go Click to show internal directories. Click to hide internal directories.