await is only valid in async functions and async generators code example
Example: await is only valid in async function
async function start() {
....
const result = await helper.myfunction('test', 'test');
}
async function start() {
....
const result = await helper.myfunction('test', 'test');
}