I'm trying to create an async function inside a behavior and I get the following message:
"async functions" is only available is ES8 (use 'esversion: 8').
I tried to add it to the behavior declaration in the model, however the message is still displayed, suggesting I didn't add it in the correct place.
Where do I add this?