workflow

package
v0.0.0-...-d5e035c Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoSomething

func DoSomething(ctx context.Context, lastRunTime, thisRunTime time.Time) error

DoSomething is an Activity

Types

type CronResult

type CronResult struct {
	RunTime time.Time
}

CronResult is used to return data from one cron run to the next

func SampleCronWorkflow

func SampleCronWorkflow(ctx workflow.Context) (*CronResult, error)

SampleCronWorkflow executes on the given schedule The schedule is provided when starting the Workflow

Jump to

Keyboard shortcuts

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