unitsReturned

open override fun unitsReturned(lender: Allocation, amount: Int)(source)

Called when amount units lent from lender come back to it at the end of a loan. The default does nothing.

Parameters

lender

the allocation the units come back to

amount

the number of units returned