3 ms·
It’s pretty common, but small surface of application. The two most common use cases I’ve seen so far: 1. Same as the article example. UI action when AJAX requ
by moltar 5y ago
It’s pretty common, but small surface of application.
The two most common use cases I’ve seen so far:
1. Same as the article example. UI action when AJAX request completes
2. In NodeJS disconnecting from resources (db, redis) after you are done. Otherwise the script will hang and never exit.