How to call async methods of C# custom library from Aras server methods?

Hi,

We have some C# code written using async and await pattern, bu how can we call this async methods from Aras server methods? I tried using await, but doesnot compiles.

like,  var result = await myClassObj.SomeAsyncMethod();

Thanks

Vinay