Share via


ProcessStepEdgeBuilder Class

A builder for a process step edge.

Note: This class is marked as 'experimental' and may change in the future.

Initializes a new instance of ProcessStepEdgeBuilder.

Constructor

ProcessStepEdgeBuilder(source: ProcessStepBuilder, event_id: str)

Parameters

Name Description
source
Required
event_id
Required

Methods

build

Builds the KernelProcessEdge.

send_event_to

Sends the event to the target.

stop_process

Stops the process.

build

Builds the KernelProcessEdge.

build() -> KernelProcessEdge

send_event_to

Sends the event to the target.

send_event_to(target: ProcessFunctionTargetBuilder | ProcessStepBuilder, **kwargs) -> ProcessStepEdgeBuilder

Parameters

Name Description
target
Required

The target to send the event to.

**kwargs
Required

Additional keyword arguments.

Returns

Type Description

The ProcessStepEdgeBuilder instance.

stop_process

Stops the process.

stop_process()

Attributes

event_id

event_id: str

is_experimental

is_experimental = True

source

source: ProcessStepBuilder

stage_status

stage_status = 'experimental'

target

target: ProcessFunctionTargetBuilder | None = None