exergist
✅ Sequentially Queueing and Processing Async Messages
I have a websocket connection between two applications. I need to have one of the applications process received messages sequentially (finish processing first message before starting on second message). The receiving application has a single method where all received messages are processed.
Assuming I can asynchronously collect received messages, how can I queue them for sequential processing based on the order they were received? Thank you!
7 replies