lixurea
lixurea
Same question. It fails to batch when there're other async functions around, more specifically, when using `fetch` from `node-fetch` in the async function. For example: ``` const DataLoader = require('dataloader');...
@hyunhoRIDI yes, if the data loader function goes first, it successfully batches requests. Not sure why though. @vivek-ng Thanks for the info. I've been reading about event loops, but still...
Same question. It fails to batch when there're other async functions around, more specifically, when using `node-fetch` in the async functions. ``` import fetch from 'node-fetch'; import DataLoader from 'data-loader';...