clientutil

package
v0.0.0-...-cf623d3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallResponseHandler

type CallResponseHandler struct {
	// contains filtered or unexported fields
}

func (*CallResponseHandler) AddResponseType

func (c *CallResponseHandler) AddResponseType(activityName string, typ reflect.Type, idField string) error

func (*CallResponseHandler) Call

func (c *CallResponseHandler) Call(
	ctx context.Context,
	cl client.Client,
	workflowID string,
	runID string,
	signalName string,
	newReq func(id string) interface{},
) (interface{}, error)

func (*CallResponseHandler) PrepareCall

func (c *CallResponseHandler) PrepareCall(ctx context.Context) (id string, chOk <-chan interface{}, chErr <-chan error)

func (*CallResponseHandler) TaskQueue

func (c *CallResponseHandler) TaskQueue() string

type CallResponseHandlerOptions

type CallResponseHandlerOptions struct {
	TaskQueue string
	Worker    worker.Worker
}

Jump to

Keyboard shortcuts

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