inline fun replacedGlTask(group: String, crossinline onReject: () -> Unit = {}, crossinline task: () -> Unit): Unit