executor

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecuteCloser

type ExecuteCloser interface {
	Executor

	Close()
}

type Executor

type Executor interface {
	Execute(t Task) bool
}

type InPlace

type InPlace struct{}

func (*InPlace) Execute

func (*InPlace) Execute(t Task) bool

type MultiFlow

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

func NewMultiFlow

func NewMultiFlow(parallel int, handoff, startImmediately bool) *MultiFlow

func (*MultiFlow) Close

func (mf *MultiFlow) Close()

func (*MultiFlow) Init

func (mf *MultiFlow) Init(parallel int, handoff, startImmediately bool) *MultiFlow

func (*MultiFlow) NewFlow

func (mf *MultiFlow) NewFlow() ExecuteCloser

func (*MultiFlow) Start

func (mf *MultiFlow) Start()

type Task

type Task = func()

Jump to

Keyboard shortcuts

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