QueueStrategyUnion

PackageAxial
What a queue, or a hub subscription, does with a value offered while it is full.

Specification

Kind
Union
Members
8
Examples
0
IsUnboundedSignature
this.IsUnbounded
IsDroppingSignature
this.IsDropping
IsBackPressureSignature
this.IsBackPressure
IsSlidingSignature
this.IsSliding
BackPressureSignature
BackPressure capacity

Summary

NameSignatureSynopsis
Union cases
IsUnboundedthis.IsUnboundedNo description available.
IsDroppingthis.IsDroppingNo description available.
IsBackPressurethis.IsBackPressureNo description available.
IsSlidingthis.IsSlidingNo description available.
BackPressureBackPressure capacityLossless.
DroppingDropping capacityA full buffer discards the new value.
SlidingSliding capacityA full buffer evicts its oldest value to make room for the new one.
UnboundedUnboundedLossless and never suspends the producer; memory grows with the backlog.

Union cases

kind:member

IsUnbounded

this.IsUnbounded
Member

Returns

bool
kind:member

IsDropping

this.IsDropping
Member

Returns

bool
kind:member

IsBackPressure

this.IsBackPressure
Member

Returns

bool
kind:member

IsSliding

this.IsSliding
Member

Returns

bool
kind:member

BackPressure

BackPressure capacity
Member
Lossless. A full buffer suspends the producer until a value is taken.

Parameters

NameTypeDescription
capacityint

Returns

unit
kind:member

Dropping

Dropping capacity
Member
A full buffer discards the new value.

Parameters

NameTypeDescription
capacityint

Returns

unit
kind:member

Sliding

Sliding capacity
Member
A full buffer evicts its oldest value to make room for the new one.

Parameters

NameTypeDescription
capacityint

Returns

unit
kind:member

Unbounded

Unbounded
Member
Lossless and never suspends the producer; memory grows with the backlog.

Returns

unit