task

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 6 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 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

func (*Task) Type added in v0.7.4

func (node *Task) Type() activity.Type

Jump to

Keyboard shortcuts

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