SyntaxError: await is only valid in a sync function 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');
}