Async not working

when I write this code it shows a red underline underneath it
Was this page helpful?