Hello! Lately I was using the plugin and had a need to read all the messages in the queue every frame. The game was running at about 60FPS and I was getting 100 messages per second.
With smaller buffer size I was dropping messages (which was not acceptable for this specific use case), with bigger buffer size it introduced delay and still dropped messages.
Currently reading all messages is only possible without Message Listener (by reading messages until they're null). This PR adds functionality to read all messages to the Message Listener.
Hello! Lately I was using the plugin and had a need to read all the messages in the queue every frame. The game was running at about 60FPS and I was getting 100 messages per second.
With smaller buffer size I was dropping messages (which was not acceptable for this specific use case), with bigger buffer size it introduced delay and still dropped messages.
Currently reading all messages is only possible without Message Listener (by reading messages until they're null). This PR adds functionality to read all messages to the Message Listener.