temit > EmitterOptions > priority
EmitterOptions.priority property
Sets the priority of the message. Higher priority messages will be routed to consumers before lower priority messages, regardless of queue position.
Can be a numeric value from 1 to 10.
Signature:
priority?: Priority;