# Cookie Jar: Sequelize Put your pending and outstanding questions here 👇 Make the question in H2 tag by using ‘##’ ## definitely interested in that promises queue article! cool stuff thanks! [What are Jobs in ES6?](https://blog.sessionstack.com/how-javascript-works-event-loop-and-the-rise-of-async-programming-5-ways-to-better-coding-with-2f077c4438b5) ## how would i go about defining my own asynchronous function? It generally follows this format: ```javascript= // ES5 Way async function main() { // Some logic const waitingForStuff = await // whatever we are awaiting // Some logic } // ES6 Way const main = async () => { // Some logic const waitingForStuff = await // whatever we are awaiting // Some logic } // Example from live code today const init = async () => { await db.sync() app.listen(3000, () => { console.log("Mixing it up on pork 3k") }) } init() ```