What happens if Multi-Users create Invoice at the same time?

What happens if Multi-Users create Invoice at the same time?

Hi, I would like to know what would happen if several users create invoices simultaneously.
Particularly to the Invoice Number.

(There is a low probability of this. However, I would like to know in the event that it happens.)

Thanks!