task

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskWorker

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

func NewWorker

func NewWorker(
	config config.Config,
	taskExecutor,
	parallelExecutor,
	waitExecutor,
	passExecutor,
	choiceExecutor executor.Executor,
	lock lock.Locker,
	logger zerolog.Logger,
	lockTimeout time.Duration,
	tracer *opentracer.ServiceTracer,
) *TaskWorker

func (*TaskWorker) Process

func (worker *TaskWorker) Process(taskInput *message.TaskInput) (*message.TaskOutput, error)

Jump to

Keyboard shortcuts

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