Help us shape the future of Go! Take the 2026 Go Developer Survey

writequeue

package
v1.1.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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())

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL