workflow

package
v1.15.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDuplicateInvocation = errors.New("duplicate invocation")
)

Functions

func ActivityFactory

func ActivityFactory(opts ActivityOptions) targets.Factory

func WorkflowFactory

func WorkflowFactory(opts WorkflowOptions) targets.Factory

Types

type ActivityOptions

type ActivityOptions struct {
	AppID              string
	ActivityActorType  string
	WorkflowActorType  string
	ReminderInterval   *time.Duration
	Scheduler          todo.ActivityScheduler
	Actors             actors.Interface
	SchedulerReminders bool
}

type WorkflowOptions

type WorkflowOptions struct {
	AppID             string
	WorkflowActorType string
	ActivityActorType string
	ReminderInterval  *time.Duration

	Resiliency         resiliency.Provider
	Actors             actors.Interface
	Scheduler          todo.WorkflowScheduler
	SchedulerReminders bool
}

Jump to

Keyboard shortcuts

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