node js error await is only valid for async functions 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');
}