signal

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowType                  = "signal"
	State1                        = "S1"
	State2                        = "S2"
	SignalName                    = "test-signal-name"
	InternalChannelName           = "test-internal-channel-name"
	UnhandledSignalName           = "test-unhandled-signal-name"
	RPCNameGetSignalChannelInfo   = "RPCNameGetSignalChannelInfo"
	RPCNameGetInternalChannelInfo = "RPCNameGetInternalChannelInfo"
)

*

  • This test workflow has two states, using REST controller to implement the workflow directly. *
  • State1:
  • - WaitUntil waits until 4 signals are received
  • - Execute method publishes the 4 signals & moves to State2
  • State2:
  • - WaitUntil method does nothing
  • - Execute method will gracefully complete workflow

Variables

View Source
var StateOptionsForLargeDataAttributes = iwfidl.WorkflowStateOptions{
	DataAttributesLoadingPolicy: &iwfidl.PersistenceLoadingPolicy{
		PersistenceLoadingType: ptr.Any(iwfidl.NONE),
	},
}

Functions

func NewHandler

func NewHandler() common.WorkflowHandlerWithRpc

Types

This section is empty.

Jump to

Keyboard shortcuts

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