temporal

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: Apache-2.0 Imports: 4 Imported by: ? modules, 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

Overview

Package temporal provides Temporal options for agent.NewAgent.

Import this package (and use WithTemporalConfig or WithTemporalClient) only when the app needs Temporal. Prefer this package over the deprecated agent.WithTemporalConfig helpers so the intent to link the Temporal SDK is explicit at the import site.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithTemporalClient

func WithTemporalClient(tc client.Client, taskQueue string) agent.Option

WithTemporalClient sets a pre-configured client for the Temporal execution runtime. Task queue must still be set via taskQueue. Use either WithTemporalConfig or WithTemporalClient, not both. The agent does not close the client when Close() is called; the caller owns the lifecycle.

func WithTemporalConfig

func WithTemporalConfig(cfg *TemporalConfig) agent.Option

WithTemporalConfig sets connection options for the Temporal execution runtime. Use either WithTemporalConfig or WithTemporalClient, not both.

Types

type TemporalConfig

type TemporalConfig = temporal_runtime.TemporalConfig

TemporalConfig holds connection settings for the Temporal-based execution runtime.

Jump to

Keyboard shortcuts

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