How does socket.io handle queue messages?

there is a broadcast screen. One or more users may send messages to the broadcast screen for broadcasting.
it takes a certain time for each broadcast to play the content (the sound playback method is asynchronous).
when multiple users send broadcast requests at the same time,
how to ensure that they can be played one by one in order? Can
generate a queue in socket.io?
after one broadcast comes in, play the next one.
is similar to the queuing mechanism.
how to deal with this problem.
has been perplexed for a long time. Please give me a solution.
thanks here.

Menu