task

package
v0.2.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTask

func NewTask(ctx context.Context, task *schema.Task) activity.Constructor

Types

type ActiveTrace

type ActiveTrace struct {
	Context  context.Context
	Activity activity.Activity
	// contains filtered or unexported fields
}

func (*ActiveTrace) Do

func (t *ActiveTrace) Do(action flow_node.IAction)

func (*ActiveTrace) Execute

func (t *ActiveTrace) Execute()

func (*ActiveTrace) TraceInterface

func (t *ActiveTrace) TraceInterface()

type Task

type Task struct {
	*flow_node.Wiring
	// contains filtered or unexported fields
}

func (*Task) Cancel

func (node *Task) Cancel() <-chan bool

func (*Task) Element

func (node *Task) Element() schema.FlowNodeInterface

func (*Task) NextAction

func (node *Task) NextAction(flow_interface.T) chan flow_node.IAction

Jump to

Keyboard shortcuts

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