While there seems to be a couple simple queue implementations in the libraries, I feel a built-in and robust version would be very useful when making more complex things in XOD.
C++ is not my strong suit, and after a number of tries I was only able to white out my screen and get lots of errors.
A couple things I think would be important:
- Queue has its own type which is mutable (you don’t need to daisy chain each queue method into the next, all the queue methods only need a queue input)
- Queues have enough safety that they could be used in multiple “simultaneous” loops.
- Queues are generic, there isn’t a number-queue and a string-queue and a boolean-queue.
3(b). This probably means there is a “New Queue” Node that takes in the generic it will be built from and creates a queue. Its output could be placed in a bus and used all over the place.
What do y’all think? Is it possible? Would it be useful enough to be a builtin?