WithSignalID
Gets a new context with SignalID set.
def WithSignalID(
ctx: context.Context,
signalID: string
) - > context.Context
WithSignalID gets a new context with SignalID set.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The parent context to which the signal ID will be added. |
| signalID | string | The unique identifier to associate with the context. |
Returns
| Type | Description |
|---|---|
context.Context | A new context derived from the input context, with the provided signal ID associated. |