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

recycle

fun recycle(instance: T): Unit

Overrides ObjectPool.recycle

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