Table of Contents

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

CancellationToken

OverflowPolicyOverride

Gets the overflow policy override applied to this publish request.

public PipelineOverflowPolicy? OverflowPolicyOverride { get; init; }

Property Value

PipelineOverflowPolicy?

Timeout

Gets the maximum time to wait for capacity before the publish attempt times out.

public TimeSpan? Timeout { get; init; }

Property Value

TimeSpan?

Methods

Validate()

Validates the configured options.

public PipelinePublishOptions Validate()

Returns

PipelinePublishOptions

The validated options instance.