resetAfter
fun <R> ThreadPolicy.resetAfter(functionBlock: () -> R): R
Runs the given functionBlock and sets the ThreadPolicy after its completion.