Whenever someone asks "Why are complex numbers important?" the answer, at least in the context of physics, usually includes things like quantum mechanics, oscillators and AC circuits. This is all very fine, but I've never seen anyone talk about functions of a complex variable. Complex functions of real variables are used often enough, but I do not yet see (with one minor exception; see below) why my university would decide to dedicate half a semester to the theory of holomorphic functions if there are no physics applications.
Don't get me wrong; I don't regret learning about complex functions. I think it is one of the most beautiful subjects within math, but my question still stands. Are there any applications of functions $f: \mathbb{C} \to \mathbb{C}$ within physics?
About the exception: If a function $f$ is holomorphic, then its components $u,v$ are automatically harmonic. This is a quick way to find solutions to Laplace's equation $\nabla^2 u = 0$, but surely this minor trick doesn't justify having to learn about the whole theory.