common

package
v1.17.21 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 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 (
	ReminderPrefixActivityResult = "activity-result-"
)

Variables

This section is empty.

Functions

func CreateReminderWithRetry added in v1.17.7

func CreateReminderWithRetry(ctx context.Context, r reminderCreator, req *actorapi.CreateReminderRequest) error

CreateReminderWithRetry calls reminders.Create with bounded exponential backoff. Only transient gRPC errors are retried (e.g. scheduler pod failover surfacing as Unavailable); permanent errors such as etcd "database space exceeded" (ResourceExhausted) or invalid arguments are returned to the caller immediately. Without that distinction a permanent failure would burn the entire retry budget before surfacing the original error, masking the real cause and tripping caller deadlines.

func ParsableTraceContext added in v1.17.21

func ParsableTraceContext(tc *protos.TraceContext) *protos.TraceContext

ParsableTraceContext returns tc, or nil if the workflow engine cannot parse it. The engine's parser indexes the decoded trace flags of a four part traceparent without checking that there are any, and it runs outside the engine's panic recovery, so a traceparent ending in "-" stops the process each time the event carrying it is loaded.

Types

type ActorTypeBuilder

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

func NewActorTypeBuilder

func NewActorTypeBuilder(namespace string) *ActorTypeBuilder

func (*ActorTypeBuilder) Activity

func (a *ActorTypeBuilder) Activity(appID string) string

func (*ActorTypeBuilder) Workflow

func (a *ActorTypeBuilder) Workflow(appID string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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