MCPcopy Create free account
hub / github.com/temporalio/temporal / Discard

Method Discard

chasm/task.go:38–38  ·  view source on GitHub ↗

Discard implements custom discard behavior on standby clusters. When a side-effect task has been pending on standby past the discard delay, the framework calls Discard instead of silently dropping the task. For example, the activity dispatch handler implements this to spill tasks to matching. The ct

(context.Context, ComponentRef, TaskAttributes, T)

Source from the content-addressed store, hash-verified

36 // The ctx carries engine access, but implementations must avoid mutating component state on standby
37 // clusters.
38 Discard(context.Context, ComponentRef, TaskAttributes, T) error
39 sideEffectTaskHandler()
40 }
41

Calls

no outgoing calls

Tested by 1