-
.z.W equivalent for input queue
Would it be technically possible to build the equivalent of .z.W but for input queues? I am currently listening to a websocket feed which is very bursty and I’d like to defer running business logic until a burst of data is processed. If there were a way to check that there are no bytes waiting on the input queue I could use that as a criteria to trigger the business logic.
Currently I am running the business logic on a tick by tick basis, but in cases where I get a burst of messages, all close together in time, I end up running the business logic on data that isn’t the latest.
Sorry, there were no replies found.
Log in to reply.