title: can anyone say what is the exact use of await.result(method, duartion.inf) in scala projects?
body: <p><strong>await.result(method, duration.inf)</strong> why we use this? Is there any alternative function for this? In which case we use this mostly? I have seen this in project but i didn't get what is this exactly and why we use this. I have searched this in google but i didn't get clear answer for my question.</p>