How to do async method when is not void?

How to do an await method and store that value through a return.

I realized all examples Ruri provided for the globals.Cookies method and stuff uses void methods. Is there any way to return a value on lolicode of an async method? Something like this:

async string exampleFunction(string a) {
return a;
}

string test = await exampleFunction(“s”);

async Task<string> MyMethod(string a)
{
   return a;
}

but i believe startup dont support async

But how do you store that into a string variable?

It will say “test” is not a Task type variable.