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
v23.0.11+incompatible
Published
Apr 9, 2024
Platform
js/wasm
Imports
1 packages
Last checked
44 minutes ago

Tools for package owners.