I have some code as below,
const registerUser = async (user) => { const registeredUser = await UserService.register(user); sendWelcomeEmail(user); // async