package queue

import "github.com/docker/docker/libcontainerd/queue"

Index

Types

type Queue

type Queue struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Queue is the structure used for holding functions in a queue.

func (*Queue) Append

func (q *Queue) Append(id string, f func())

Append adds an item to a queue.

Source Files

queue.go

Version
v28.0.3+incompatible
Published
Mar 25, 2025
Platform
js/wasm
Imports
1 packages
Last checked
1 minute ago

Tools for package owners.