executor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompleteTask

type CompleteTask func(ctx context.Context, taskName string, result []interface{}, err error) error

type ExecuteTask

type ExecuteTask func(taskName string, input ...interface{}) ([]interface{}, error)

type Executor

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

func NewExecutor

func NewExecutor(tasks *task.Tasks, callbacker *callbackapi.ClientWithResponses) *Executor

func (*Executor) Execute

func (e *Executor) Execute(ctx context.Context, taskName string, input ...interface{}) error

Jump to

Keyboard shortcuts

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