[ CCode ( has_construct_function = false ) ]
public Limiter (uint max_concurrency)
Creates a new `DexLimiter` with max_concurrency permits.
max_concurrency must be greater than zero. Each successful acquisition consumes one permit until [method@Dex.Limiter.release
] is called.
| max_concurrency |
the maximum number of concurrent operations |
|
a new `DexLimiter` |