Skip to content

Glossary: Vue.js

Async function

Also written: async, async/await, await

A function written with `async` that can `await` a slow step such as `fetch`, pausing until the answer arrives. Vue code uses it inside `onMounted` or watchers to load data.

Where the book teaches it

Related terms

fetchtry/catchonMounted