ktor-io / io.ktor.utils.io.pool / ObjectPool / recycle

recycle

abstract fun recycle(instance: T): Unit

Recycle an instance. Should be recycled what was borrowed before otherwise could fail