Mutable

constructor(permits: Int, acquiredPermits: Int = 0)(source)

Parameters

locked

Preset state of freePermits and its internal _freePermitsStateFlow