Instance state type
Instance headers type
Instance params type
Transport failure or a parse failure on an ok: true body. Never non-2xx.
Terminal event for a wait that ended because the request aborted. Pairs with ratelimit-wait.
Fires for every completed exchange, any status.
Fires alongside response when status is 400-499.
Fires alongside response when status is 500-599.
Event map for FetchEngine - maps event names to their data types.
Event names have been simplified by removing the
fetch-prefix. This provides cleaner API while maintaining full type safety.Example