Documentation
¶
Index ¶
Constants ¶
View Source
const ( ComponentName = "run_start" InPort = "in" OutPort = "out" StartedPort = "started" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct{}
Component is the front door into durable execution. It starts a durable run, fires the chain on Out WITHOUT waiting for it (the emit returns as soon as the first hop is durably stored), and then emits {runID} on Started — which, wired back to an http_server response, gives the HTTP caller an immediate handle to poll while the run continues in the background, surviving pod restarts and migrating across replicas.
Place it on a CLASSIC (non-durable) node between the trigger and the durable chain. Downstream nodes need no labels: every hop emitted under the run identity rides the durable path.
func (*Component) GetInfo ¶
func (t *Component) GetInfo() module.ComponentInfo
Click to show internal directories.
Click to hide internal directories.