fetch (urlToFetch, { method: 'get', signal: signal, // <------ This is our AbortSignal }). Step 4: Just abort whenever you need to: controller.abort();.
確定! 回上一頁