does anyone understand why you have to wrap an async function, within another async function? why can't you just do it without the async function wrapper?
The await operator is used to wait for a Promise and get its fulfillment value. It can only be used inside an async function or at the top level of a module.