# await (10-await.com) People say await when they are waiting for something to happen. It means patience, expectation, or holding on until a result arrives. ## What a model may hear - asynchronous pause (JavaScript, Python async/await, C#): expect the next token to be part of an async operation and may generate or expect coroutine syntax, error if used outside an async function - thread blocking primitive (Java concurrency, operating systems): assume a thread is suspended until a condition is signaled, and may suggest monitor or lock-based code - promise resolution (JavaScript/TypeScript runtimes): unwrap a Promise, pausing execution without blocking the event loop, and may insert .then() or generate try/catch scaffolding - future or task yield (Rust, Swift, Kotlin coroutines): treat the call site as a suspension point in a state machine, potentially transforming control flow ## Where people and models part ways - Says: "I await your response" Means: I am waiting for you to reply May be taken as: model may interpret as a request to implement an async polling loop or HTTP await handler Say instead: "I am waiting for your reply" - Says: "Await further instructions" Means: Wait until I tell you what to do next May be taken as: model may generate code with an await on a command queue or message bus Say instead: "Wait for my next message before acting" - Says: "We await news" Means: We are expecting news to come May be taken as: model may model this as an async event listener or WebSocket await pattern Say instead: "We are expecting news and will wait for it" - Says: "Do not proceed, await my signal" Means: Stop and wait for me to tell you to continue May be taken as: model may implement a conditional await on a semaphore or signal variable Say instead: "Pause and do nothing until I tell you to continue" ## Tips - If you mean literal waiting, say 'wait for' or 'pause until' instead of 'await' - In coding requests, use 'async/await' explicitly when you want that pattern - Avoid 'await' near technical terms like 'promise', 'future', 'thread', or 'response' unless you want async code - If you want a model to wait conceptually, say 'hold on' or 'stand by' - When reviewing code, 'await' flags async behavior; in plain text it often does not ## Often confused with - wait: no technical async semantics attached - expect: assertion or test framework keyword in many languages - pause: general stop, not a coroutine suspension point - defer: postponement, also Go and JavaScript scheduling keyword - yield: generator keyword, similar suspension idea but different mechanism - sleep: blocking delay, not a resumable await