submit

suspend fun submit(vararg groups: KClass<*>, onExecute: suspend (T) -> Unit)

Validates and executes onExecute if validation passes.