Whenever you cast your second spell each turn, Pyromancer's Assault deals 2 damage to any target.
The ability can trigger only once each turn. The ability will resolve before the second spell resolves. It doesn’t matter if the first spell you cast that turn has resolved, was countered, or is still on the stack.