facg3 / MWM-Shop_Project

2 stars 1 forks source link

Make your code asynchronous as possible #32

Open SamerElaila opened 6 years ago

SamerElaila commented 6 years ago

https://github.com/facg3/MWM-Shop_Project/blob/e761e4d5a61dcf82570f808e98c8e50b8f240905/src/handler.js#L209

you can change that function to asynchronous. because if you are working on a big project and their is a lot of users your server will take less time in response than synchronous

MahmoudMH commented 6 years ago

Done