OptionalcoordinationOmitted adopts registered resilience, otherwise uses memory. Local always uses memory; distributed requires resilience.
OptionalidentityControls identity partitioning for middleware-managed state.
Omit this option to use automatic tenant partitioning when identity exists.
OptionalkeyOptional key to identify a shared semaphore. If provided, the semaphore will be shared across all tasks using the same key.
OptionalkeyDynamic shared pool name. Receives the canonical task id and input; mutually exclusive with key.
OptionallimitMaximum number of concurrent executions. If provided, a Semaphore will be created and shared for this config object.
OptionalmaxMaximum waiting calls per resolved pool per runtime. Omitted means unlimited; zero disables waiting.
OptionalsemaphoreAn existing Semaphore instance to use. Implies local coordination.
OptionalwaitMaximum acquisition wait in milliseconds. Omitted means unlimited; zero makes one immediate attempt.
Running-work and admission policy for a shared concurrency pool.