-
Notifications
You must be signed in to change notification settings - Fork 407
consider fetch as a macroTask #432
Comments
could you please expand on this ? |
@vicb , The Fetch API provides an interface for fetching resources (including across the network) which is similar to XMLHttpRequest API. for example there is a macroTask with 'XMLHttpRequest.send' as source which provides a way to keep track of async tasks. This would be useful for applications that are using fetch API. Also, I'm already making a fix for this, but my approach is to patch fetch API and attach a property to the promise and in the I hope this makes sense, Let me know if you need more info. |
Yes, |
Is this issue still being considered? My use case is the |
@blaugold This doesn't help for the original issue, but apollo-client v2 has moved to Angular HttpClient instead of fetch, hopefully that fixes your problem. |
currently fetch is not considered as a task, for some application this is necessary to keep track of all macroTasks
The text was updated successfully, but these errors were encountered: