Mutable

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

Parameters

locked

Preset state of freePermits and its internal _permitsStateFlow