temporal

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstHistoryEvent added in v0.8.0

func GetLogger

func GetLogger(ctx context.Context) logr.Logger

func Logger

func Logger(logger logr.Logger) temporalsdk_log.Logger

Logger returns a logger for the Temporal Go SDK.

func NewLoggerInterceptor

func NewLoggerInterceptor(logger logr.Logger) *workerInterceptor

NewWorkerInterceptor returns an interceptor that makes the application logger available to activities via context.

func NewNonRetryableError added in v0.8.0

func NewNonRetryableError(err error) error

func NonRetryableError

func NonRetryableError(err error) bool

Types

type AutoHeartbeat

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

func StartAutoHeartbeat

func StartAutoHeartbeat(ctx context.Context) *AutoHeartbeat

StartAutoHeartbeat is an auto-heartbeat helper that chooses the heartbeat frequency based on the activity hearbeat timeout configuration.

Temporal is planning to provide auto-heartbeating capabilities in the future, see https://github.com/temporalio/features/issues/229 for more.

func (*AutoHeartbeat) Stop

func (m *AutoHeartbeat) Stop()

Jump to

Keyboard shortcuts

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