DashboardcliAsync promise consumption

Async promise consumption

Category: preference
Confidence: 1.00
ID: 01a08a9b-9a54-723b-bfbf-1700a56c8749
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 0iRbOD1VHj1PKYbvU
Created: 2026-09-08 20:18:24
Updated: 2026-09-10 09:17:28

Content

Async functions must always await promises and consume their results. Chose async/await with explicit try/catch over promise chains or fire-and-forget calls because ignored or delayed rejections make incomplete work appear successful; never use an async function as a Promise executor because the constructor cannot adopt errors thrown by that executor.

Move to: