send

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSendTask

func NewSendTask(ctx context.Context, task *schema.SendTask) activity.Constructor

Types

type ActiveTrace

type ActiveTrace struct {
	context.Context
	Activity   activity.Activity
	Type       string
	Headers    map[string]any
	Properties map[string]any
	// contains filtered or unexported fields
}

func (*ActiveTrace) Do

func (t *ActiveTrace) Do(options ...DoOption)

func (*ActiveTrace) Execute

func (t *ActiveTrace) Execute()

func (*ActiveTrace) GetActivity added in v0.7.2

func (t *ActiveTrace) GetActivity() activity.Activity

func (*ActiveTrace) TraceInterface

func (t *ActiveTrace) TraceInterface()

type DoOption

type DoOption func(*doResponse)

func WithErr

func WithErr(err error) DoOption

type SendTask

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

func (*SendTask) Cancel

func (node *SendTask) Cancel() <-chan bool

func (*SendTask) Element

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

func (*SendTask) NextAction

func (node *SendTask) NextAction(t 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