I'd like to build a NodeJS server that responds to requests just one at the time.
Basically: by doing fetch('<domain>/request/<id>
I want that untill the client received the data the other requests are queued. Is it possible?
I'd like to build a NodeJS server that responds to requests just one at the time.
Basically: by doing fetch('<domain>/request/<id>
I want that untill the client received the data the other requests are queued. Is it possible?
Copyright © 2021 Jogjafile Inc.
An npm module like
express-queue
could work.