Skip to content
>devspeak
← glossary
level 8Advanced AI-Assisted Development

Asynchronous

also: async, asynchronously

Work that starts now and finishes later, so the program can keep going instead of freezing while it waits. Loading data over the internet is usually asynchronous.

a bit more technical

An operation that returns control before its result is ready and delivers the result later, through a callback, a promise, or await. It is used for slow work like network calls, database queries, and file reads so the app stays responsive.

picture it

A burger place that hands you a buzzer. You don't stand frozen at the counter. You sit down, and the buzzer tells you when the food is ready.

why it matters

Many confusing bugs come from code using a result before it has arrived, like showing "Saved!" before the save finishes. When your agent mentions async, awaiting, or promises, it's talking about this timing.

what your agent might say
agent
The save function is async, but the caller never awaits it, so the redirect happens before the write completes. I'll add the missing await.
how you might use it
you → your agent
The confirmation shows before the booking is actually saved. Check for an asynchronous call that isn't being awaited, and make the success message wait for the real result.
common mistake

Thinking asynchronous means "happens in the background, so timing doesn't matter." Other code often depends on the result and must wait for it properly.

builds on