business_rule

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBusinessRuleTask

func NewBusinessRuleTask(ctx context.Context, task *schema.BusinessRuleTask) activity.Constructor

Types

type ActiveTrace

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

func (*ActiveTrace) Do

func (t *ActiveTrace) Do(options ...DoOption)

func (*ActiveTrace) Execute

func (t *ActiveTrace) Execute()

func (*ActiveTrace) GetActivity added in v0.7.2

func (t *ActiveTrace) GetActivity() activity.Activity

func (*ActiveTrace) TraceInterface

func (t *ActiveTrace) TraceInterface()

type BusinessRuleTask

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

func (*BusinessRuleTask) Cancel

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

func (*BusinessRuleTask) Element

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

func (*BusinessRuleTask) NextAction

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

type DoOption

type DoOption func(*doResponse)

func WithErr

func WithErr(err error) DoOption

func WithErrHandle

func WithErrHandle(err error, ch <-chan flow_node.ErrHandler) DoOption

func WithProperties

func WithProperties(properties map[string]any) DoOption

Jump to

Keyboard shortcuts

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