The use of async function

Please advise

how to write the following functions using the async function.
  methods: {
    getList() {
      this.listLoading = true
      fetchList(this.listQuery).then(response => {
        this.list = response.data.items
        this.total = response.data.total
        // Just to simulate the time of the request
        setTimeout(() => {
          this.listLoading = false
        }, 1.5 * 1000)
      })
    },
//fetchList
export function fetchList(query) {
  return request({
    url: "/article/list",
    method: "get",
    params: query
  })
}
//request
import axios from "axios"
import { Message } from "element-ui"
import store from "@/store"
import { getToken } from "@/utils/auth"

// create an axios instance
const service = axios.create({
  baseURL: process.env.BASE_API, // apibase_url
  timeout: 5000 // request timeout
})

// request interceptor
service.interceptors.request.use(config => {
  // Do something before request is sent
  if (store.getters.token) {
    // token-- ["X-Token"]key 
    config.headers["X-Token"] = getToken()
  }
  return config
}, error => {
  // Do something with request error
  console.log(error) // for debug
  Promise.reject(error)
})

// respone interceptor
service.interceptors.response.use(
  response => response,
  error => {
    console.log("err" + error) // for debug
    Message({
      message: error.message,
      type: "error",
      duration: 5 * 1000
    })
    return Promise.reject(error)
  })

export default service
Apr.05,2021

var self = this;
(async function(){
    const response = await fetchList(self.listQuery);
    self.list = response.data.items
    self.total = response.data.total
    setTimeout(() => {
        self.listLoading = false
    }, 1.5 * 1000)
})()
< hr >

change it like this according to the supplementary code

    async getList() {
        const response = await fetchList(this.listQuery);
        this.list = response.data.items
        this.total = response.data.total
        setTimeout(() => {
            this.listLoading = false
        }, 1.5 * 1000)
    }

async getList() {
      this.listLoading = true
        let response = await fetchList(this.listQuery)
        this.list = response.data.items
        this.total = response.data.total
        
        setTimeout(() => {
             this.listLoading = false
        }, 1.5 * 1000)
    },
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4deb3-65588.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4deb3-65588.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?