## Lesson — When timing out a child process, do not reject the promise

**Tags:** architecture, curated
**Pattern:** \bsetTimeout\s*\(.*?\breject\b
**Engine:** regex
**Scope:** **/*.ts, **/*.js, **/*.tsx, **/*.jsx
**Severity:** error

When timing out a child process, do not reject the promise.
