When an agent is typing a response, all other agents will see the bubble text/typing notice with which agent has picked up this message and is typing. This will deter other agents from trying to answer at the same time.
If two or more agents try to reply at the same time, the first answer submitted will be sent first. Both messages will be sent to the contact.