greedy_timer

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowType       = "greedy_timer"
	ScheduleTimerState = "schedule"
	SubmitDurationsRPC = "submitDurationsRPC"
)

* This workflow will accept an array of integers representing durations and execute a state that waits on a timer corresponding to each duration provided

Variables

This section is empty.

Functions

func NewHandler

func NewHandler() common.WorkflowHandlerWithRpc

Types

type Input

type Input struct {
	Durations []int64 `json:"durations"`
}

Jump to

Keyboard shortcuts

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