subprocess

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context,
	eventDefinitionBuilder event.IDefinitionInstanceBuilder,
	idGenerator id.IGenerator,
	tracer tracing.ITracer,
	subProcess *schema.SubProcess) activity.Constructor

Types

type ProcessLandMarkTrace

type ProcessLandMarkTrace struct {
	Node schema.FlowNodeInterface
}

ProcessLandMarkTrace denotes instantiation of a given sub process

func (ProcessLandMarkTrace) TraceInterface

func (i ProcessLandMarkTrace) TraceInterface()

type SubProcess

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

func (*SubProcess) Cancel

func (p *SubProcess) Cancel() <-chan bool

func (*SubProcess) ConsumeEvent

func (p *SubProcess) ConsumeEvent(ev event.IEvent) (result event.ConsumptionResult, err error)

func (*SubProcess) Element

func (p *SubProcess) Element() schema.FlowNodeInterface

func (*SubProcess) NextAction

func (p *SubProcess) NextAction(flow_interface.T) chan flow_node.IAction

func (*SubProcess) RegisterEventConsumer

func (p *SubProcess) RegisterEventConsumer(ev event.IConsumer) (err error)

func (*SubProcess) Type added in v0.7.4

func (p *SubProcess) Type() activity.Type

Jump to

Keyboard shortcuts

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