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 (c *ControllableSignal) Type() signal.SignalType
type ExampleSignal ¶
type ExampleSignal struct {
Arg1 string `json:"arg_1"`
Arg2 string `json:"arg_2"`
// contains filtered or unexported fields
}
func (*ExampleSignal) Type ¶
func (e *ExampleSignal) Type() signal.SignalType
Click to show internal directories.
Click to hide internal directories.