4 ms·
If you want to have the same code structure as this, but without await, you’re gonna implement your own queuing system (every call adds an operation to a queue)
by jiofih 5y ago
If you want to have the same code structure as this, but without await, you’re gonna implement your own queuing system (every call adds an operation to a queue). Many old tools operated this way, before ES6.
The problem with that it doesn’t meld together with most third party libs, since they will have no knowledge of your queue and will just execute immediately or out of order.