WithExecutionID
Gets a new context with ExecutionID set.
def WithExecutionID(
ctx: context.Context,
execID: string
) - > context.Context
Gets a new context with ExecutionID set.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The parent context to which the execution ID will be added. |
| execID | string | The unique identifier for the execution to be associated with the context. |
Returns
| Type | Description |
|---|---|
context.Context | A new context derived from the input context, with the provided execution ID associated. |