lastmjs
06/07/2017, 10:10 PMisomorphic-fetch in a cloud function. I can't get the promise callback to get called. The following example works fine on my node on my local machine, so I'm wondering if this is a cloud function issue: console.log('fetch with arrow function');
fetch('<http://google.com|google.com>').then((response) => {
console.log('response with arrow function', response);
});
console.log('fetch withot arrow function');
fetch('<http://google.com|google.com>').then(function(response) {
console.log('response without arrow function', response);
});