script

package
v0.2.5 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: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScriptTask

func NewScriptTask(ctx context.Context, task *schema.ScriptTask) activity.Constructor

Types

type ActiveTrace

type ActiveTrace struct {
	Context     context.Context
	Activity    activity.Activity
	DataObjects map[string]any
	Headers     map[string]any
	Properties  map[string]any
	// contains filtered or unexported fields
}

func (*ActiveTrace) Execute

func (t *ActiveTrace) Execute()

func (*ActiveTrace) ExecuteExt

func (t *ActiveTrace) ExecuteExt(result map[string]any, err error)

func (*ActiveTrace) TraceInterface

func (t *ActiveTrace) TraceInterface()

type ScriptTask

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

func (*ScriptTask) Cancel

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

func (*ScriptTask) Element

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

func (*ScriptTask) NextAction

func (node *ScriptTask) NextAction(t 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