tasker

package
v0.0.0-...-f0c808a Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package tasker is a task queue for the osconfig_agent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close prevents any further tasks from being enqueued and waits for the queue to empty. Subsequent calls to Close() will block.

func Enqueue

func Enqueue(ctx context.Context, name string, f func())

Enqueue adds a task to the task queue. Calls to Enqueue after a Close will block.

Types

This section is empty.

Jump to

Keyboard shortcuts

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