release

fun release(amount: Int = 1)

Release the amount of the resource. The amount to release must be 1 or more and less than or equal to the current number of busy resource units.