dmitriy.m
private var onStartFunc: (() -> Unit)? = null // class body inline fun <reified T> forView(view: OperationView): { with() { onStartFunc?.let { it() } }