tasks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager() *Manager

func (*Manager) FailAll

func (m *Manager) FailAll(reason string)

func (*Manager) GetStatus

func (m *Manager) GetStatus(taskID string) (*TaskState, error)

func (*Manager) Register

func (m *Manager) Register(taskID, requestID string)

func (*Manager) UpdateStatus

func (m *Manager) UpdateStatus(taskID, state, message string) error

type TaskState

type TaskState struct {
	State   string
	Message string
}

Jump to

Keyboard shortcuts

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