Multiple reads with flareutils `list`
I'm trying to launch several flareutil
list
in parallel
I'm getting this error because I understand within list
it's writing a Response:
TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice
What can I do to launch several list
in parallel?1 Reply
Hi,
Do you know if it's possible to launch mulitple flareutlils
get
or list
operations in parallel (within a Promise)? I got this error saying Body has been already used
, but I've seen in the code that a new Response is created every time, so it doesn't make sense ....
https://github.com/helloimalastair/flareutils/blob/0aa471d/src/BetterKV.ts#L58GitHub
FlareUtils/BetterKV.ts at 0aa471d84d83ce195d4d51e074fad439fff68643 ...
Contribute to helloimalastair/FlareUtils development by creating an account on GitHub.