Namespace Cuemon.Threading
The Cuemon.Threading
namespace contains types related to working with long-running concurrent loops and regions that utilizes both synchronous and asynchronous delegates. The namespace is an addition to the System.Threading
namespace.
Availability: .NET 9, .NET 8 and .NET Standard 2.0
Complements: System.Threading namespace 🔗
Related: Cuemon.Extensions.Threading.Tasks namespace 📘
Classes
AdvancedParallelFactory
Provides a factory based way to work with advanced scenarios that encapsulate and re-use existing code while adding support for typically long-running parallel loops and regions.
AsyncActionFactory
Provides access to factory methods for creating AsyncActionFactory<TTuple> instances that encapsulate a Task based function delegate with a variable amount of generic arguments.
AsyncActionFactory<TTuple>
Provides a way of invoking an Action delegate regardless of the amount of parameters provided.
AsyncFuncFactory
Provides access to factory methods for creating AsyncFuncFactory<TTuple, TResult> instances that encapsulate a Task<TResult> based function delegate with a variable amount of generic arguments.
AsyncFuncFactory<TTuple, TResult>
Provides a way of invoking an Func<TResult> function delegate regardless of the amount of parameters provided.
AsyncOptions
Specifies options that is related to asynchronous operations.
AsyncPatterns
Provides a generic way to support different types of design patterns and practices with small utility methods scoped to Task.
AsyncTaskFactoryOptions
Configuration options for ParallelFactory.
AsyncWorkloadOptions
Configuration options for ParallelFactory.
ForLoopRuleset<TOperand>
Specifies the rules of a for-loop control flow statement.
ParallelFactory
Provides a factory based way to encapsulate and re-use existing code while adding support for typically long-running parallel loops and regions.
TimerFactory
Provides access to factory methods for creating and configuring Timer instances.
Interfaces
IAsyncOptions
Defines options that is related to asynchronous operations.
Enums
RelationalOperator
Defines the most common numerical relational operators.