Cannot get the results to returned back to my page code function from public .js file function.

I think I found the reason " return ( async function (results) {
results = await fetchRecordItem(dataBaseName,searchKey)