Concurrency
Primitives and helpers for dealing with asynchronous work, timers, locks, and background tasks — all designed to stay readable and not leak resources.
Pages in this section
- Awaitable Condition — wait on a custom condition with timeout / cancellation.
- Blocking Timer — periodic timer that never overlaps itself.
- Named Semaphores — reference-counted, name-keyed
SemaphoreSlimpool. - Semaphore Scopes —
using-friendlySemaphoreSlimlocking. - Action Registry — DI-aware task registration + sequential/parallel execution.
Namespace map
| Namespace | Types |
|---|---|
Servus.Concurrency | NamedSemaphoreSlim, NamedSemaphoreSlimStore |
Servus.Threading | BlockingTimer, AwaitableCondition, SemaphoreSlimExtensions |
Servus.Threading.Tasks | ITaskMarker, IAsyncTask, IAsyncTask<T>, IActionRegistry<T>, IActionRegistryRunner<T>, ActionRegistry<T>, ActionRegistry<TIn,TOut> |
