Skip to content
JavaScript·Intermediate·Conceptual·1 min read

Does rejecting Promise.all cancel the remaining operations?

Short interview answer

No. Their results are ignored by that aggregate, but the underlying fetches or other work continue unless they support cancellation and you invoke it. AbortController is commonly used to coordinate fetch cancellation.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Promises

Related questions