core

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTask added in v0.23.0

func AddTask(ctx context.Context, task Exectable) error

func CancelTask added in v0.23.0

func CancelTask(ctx context.Context, id string) error

func GetLength added in v0.23.0

func GetLength(ctx context.Context) int

func Run

func Run(ctx context.Context)

Types

type Exectable added in v0.23.0

type Exectable interface {
	TaskID() string
	Execute(ctx context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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