# fetch sync?

**URL:** <https://forums.fusetools.com/t/fetch-sync/2176>\
**Category:** How-to Discussions\
**Created:** [March 13, 2016, 12:20pm UTC](https://forums.fusetools.com/t/fetch-sync/2176 "2016-03-13T12:20:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iUseFuse](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/iusefuse/32/747_2.png) [@iUseFuse](https://forums.fusetools.com/u/iUseFuse)\
**Post date:** [March 13, 2016, 12:20pm UTC](https://forums.fusetools.com/t/fetch-sync/2176/1 "2016-03-13T12:20:49Z")

</div>

i’ll give you some js code first, so i don’t need to explain everything

```auto
fetch('someurl', {
    method: 'GET'
}).then(function(response) {
    //return response
}).then(function(responseObject) {
    //return object
}).then(function(responseObject) {
    console.log('this will be shown afterwards');
});
console.log('this will be shown first');

```

so the question is, is there a way to finish all the fetch operations before the rest of the code is executed?

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [March 14, 2016, 12:18pm UTC](https://forums.fusetools.com/t/fetch-sync/2176/2 "2016-03-14T12:18:52Z")

</div>

Nope. There is no way to make a blocking `fetch` call. Sorry!

---

<div class="post-metadata">

**Author:** ![iUseFuse](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/iusefuse/32/747_2.png) [@iUseFuse](https://forums.fusetools.com/u/iUseFuse)\
**Post date:** [March 14, 2016, 6:41pm UTC](https://forums.fusetools.com/t/fetch-sync/2176/3 "2016-03-14T18:41:11Z")

</div>

That’s a shame. Is it planned to offer that functionality?

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [March 14, 2016, 6:45pm UTC](https://forums.fusetools.com/t/fetch-sync/2176/4 "2016-03-14T18:45:00Z")

</div>

No. `fetch` is a (somewhat) standardized API and we intend to follow that standard.

[https://developer.mozilla.org/en-US/docs/Web/API/Fetch\_API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)

It is generally considered bad practice to have blocking APIs in JS due to the single threaded nature.
