DEV Community

Discussion on: Your thoughts on Creating a New User

 
christiansk profile image
christiansk

I think what he means is that sending the e-mail should be done asynchronously in a separate thread/process/worker, thus not blocking your main thread. You can return a response to the user while the e-mail is still being sent in the background.

Thread Thread
 
jessachandler profile image
Jess Chandler

Thanks for your thoughts Christian!