Class PipelinePublishOptions
- Namespace
- Pipelinez.Core.FlowControl
- Assembly
- Pipelinez.dll
Specifies per-call flow-control behavior for a publish request.
public sealed class PipelinePublishOptions
- Inheritance
-
PipelinePublishOptions
- Inherited Members
Properties
CancellationToken
Gets the cancellation token used to cancel the publish request while waiting for capacity.
public CancellationToken CancellationToken { get; init; }
Property Value
OverflowPolicyOverride
Gets the overflow policy override applied to this publish request.
public PipelineOverflowPolicy? OverflowPolicyOverride { get; init; }
Property Value
Timeout
Gets the maximum time to wait for capacity before the publish attempt times out.
public TimeSpan? Timeout { get; init; }
Property Value
Methods
Validate()
Validates the configured options.
public PipelinePublishOptions Validate()
Returns
- PipelinePublishOptions
The validated options instance.