parallel

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

func (*Action) Execute

func (a *Action) Execute(ctx context.Context, runData runtime.Data) (bool, error)

func (*Action) Timeout

func (a *Action) Timeout() time.Duration

func (*Action) When

func (a *Action) When() action.When

type ActionMaker

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

func CreateActionMaker

func CreateActionMaker(fnd app.Foundation, runtimeMaker runtime.Maker) *ActionMaker

func (*ActionMaker) Make

func (m *ActionMaker) Make(
	config *types.ParallelAction,
	sl services.ServiceLocator,
	defaultTimeout int,
	actionMaker action.Maker,
) (action.Action, error)

type Maker

type Maker interface {
	Make(
		config *types.ParallelAction,
		sl services.ServiceLocator,
		defaultTimeout int,
		actionMaker action.Maker,
	) (action.Action, error)
}

Jump to

Keyboard shortcuts

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