I am flooded with many events simultaneously in my socket io client. There are suppose any two events eventA and eventB
, of which eventB
is of use only after eventA
occurs. So till then I want to ignore that event.
How can I achieve this scenario using socket.io
in nodejs?