EraCode practice

Abortable async: cancel a fetch with AbortController

TypeScriptintermediateMulti-Part

Summary

Quick practice on handling async side effects safely by making a request cancellable with AbortController.

Problem preview

### Goal Make this async helper cancellable. - should pass an optional abort into so callers can cancel the request. - Keep behavior the same otherwise: it should return parsed JSON and throw on non-…

Attempt this challenge

Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.