tasks

package
v0.0.0-...-d7b6ce4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelayRun

func DelayRun(t AsyncTask, time time.Time) error

func ProcessTask

func ProcessTask(t AsyncTask, payload string) (bool, error)

func RunAsync

func RunAsync(t AsyncTask) error

Types

type AsyncTask

type AsyncTask interface {
	Name() string
	Run() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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