temporal

package
v0.0.0-...-f18a537 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrNilTemporalClient = erorr.Error("nil temporal-client")
	ErrNilWorker         = erorr.Error("nil worker")
)
View Source
const TaskQueueName = "laterpub_queue"

Variables

This section is empty.

Functions

func ExecuteWorkflow

func ExecuteWorkflow(ctx context.Context, temporalClient temporalclient.Client, workflowName string, request any) (temporalclient.WorkflowRun, error)

ExecuteWorkflow executes a Temporal workflow by name, using a string name, and with a single parameter. (Likely, the single parameter with be a struct.)

func RegisterWorkflow

func RegisterWorkflow(worker temporalworker.Worker, workflowName string, fn any) error

RegisterWorkflow registers a Temporal workflow by name, using a string name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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