ProcessQueueTCancellationToken Property

Gets the per processing thread cancellation token to check when a ProcessTimeout is specified.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.147 -- Release Build+71918e29738e2d0700de8aec0ad72324b16f1428
public ICancellationToken CancellationToken { get; }

Property Value

ICancellationToken

Remarks

This token should be checked in the user implemented ProcessItemFunction or ProcessItemsFunction to determine if a timeout has occurred so that the code can cleanly exit.

See Also