Ricky AI Llama 3.2 1B
Collection
All Models Fine Tuned using Llama Models
•
2 items
•
Updated
Using async/await in JavaScript:
async function example() {
return "Hello";
}
example().then((res) => console.log(res));
Note that example()
returns a promise and can be used with async
keywords.
async function example() {
await new Promise(resolve => setTimeout(resolve, 1000));
return "Hello";
}
example().then((res) => console.log(res));