example

package
v0.19.854 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ControllableSignalType       signal.SignalType = "controllable-signal"
	ControllableSignalUpdateName string            = "complete"
)
View Source
const (
	ExampleSignalType signal.SignalType = "example-signal"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllableSignal added in v0.19.850

type ControllableSignal struct {
	ShouldBlock bool `json:"should_block"`
	// contains filtered or unexported fields
}

func (*ControllableSignal) Execute added in v0.19.850

func (c *ControllableSignal) Execute(ctx workflow.Context) error

func (*ControllableSignal) Type added in v0.19.850

func (*ControllableSignal) Validate added in v0.19.850

func (c *ControllableSignal) Validate(ctx workflow.Context) error

type ExampleSignal

type ExampleSignal struct {
	Arg1 string `json:"arg_1"`
	Arg2 string `json:"arg_2"`
	// contains filtered or unexported fields
}

func (*ExampleSignal) Execute

func (e *ExampleSignal) Execute(ctx workflow.Context) error

func (*ExampleSignal) Type

func (e *ExampleSignal) Type() signal.SignalType

func (*ExampleSignal) Validate

func (e *ExampleSignal) Validate(ctx workflow.Context) error

Jump to

Keyboard shortcuts

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