Suggest an editImprove this articleRefine the answer for “Can you use async operations inside computed()?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**No, you cannot.** `computed()` must be synchronous: it returns a value immediately, not a promise. If you use `async`/`await` or `fetch()` inside `computed()`, Angular will throw an error or ignore the changes. **Key point:** `computed()` is only for synchronous dependencies, everything async goes through effects or is handled manually.Shown above the full answer for quick recall.Answer (EN)ImageNo, **you cannot**. `computed()` must be **synchronous**. It returns a value immediately, not a promise. If you use `async`/`await` or `fetch()` inside `computed()`, Angular will throw an error or ignore the changes. ### Why? Because `computed()` is meant for **instant** calculations. It works like a formula: you enter numbers and immediately see the result. If there is a delay inside, the signal will not be able to track dependencies correctly. ### What to do with async? If you need to work with asynchronous data (e.g. HTTP requests), you use: - `effect()`, for side-effect async operations - `RxJS` (temporarily) - or load data into a `signal` manually: ```ts const user = signal<User | null>(null); async function loadUser() { const res = await fetch('/api/user'); const data = await res.json(); user.set(data); } ``` **Conclusion:** `computed()` is only for synchronous dependencies. Everything async goes through effects or is handled manually.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.