How do I use Ashley entity framework alongside Kryonet?

Hi,

I’ve been experimenting with both the Kryonet and Ashley frameworks separately and really like both, and now I’d like to use both in a single project.

My question is how do I hook them up together? Kryonet works with listeners and there is no ‘loop’, but Ashley needs a loop with a delta passed into it’s update method.

I’ve seen a few posts where people do use a loop on the server, and Kryonet’s listener simply add to a queue. This queue then gets processed during every update. Is this a good way to organise things? All of the examples in the Kryonet repository simply handle everything directly in the listener itself at the time of the event.

Thanks!