In my node.js codebase I have three function I want to prevent to run in parallel. So I want to have a way to run those functions serially at any given time.
On other platforms I am used to setup a serial queue and then dispatch code onto the queue knowing that the execution of dispatched work is going to be serialized.
I am not sure how to do this in Node.js or Javascript. What reliable option do I have in either to serialize the execution of functions?