catch

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: LGPL-2.1 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveListeningTrace

type ActiveListeningTrace struct {
	Node *schema.CatchEvent
}

func (ActiveListeningTrace) TraceInterface

func (t ActiveListeningTrace) TraceInterface()

type EventObservedTrace

type EventObservedTrace struct {
	Node  *schema.CatchEvent
	Event event.IEvent
}

EventObservedTrace signals the fact that a particular event has been in fact observed by the node

func (EventObservedTrace) TraceInterface

func (t EventObservedTrace) TraceInterface()

type Node

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

func New

func New(ctx context.Context, wiring *flow_node.Wiring, catchEvent *schema.CatchEvent) (node *Node, err error)

func (*Node) ConsumeEvent

func (node *Node) ConsumeEvent(ev event.IEvent) (result event.ConsumptionResult, err error)

func (*Node) Element

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

func (*Node) NextAction

func (node *Node) 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