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

validateInstance

protected open fun validateInstance(instance: T): Unit

Validate instance of T. Could verify that the object has been borrowed from this pool