Files
pyscript/pyscriptjs
Hood Chatham 9fedfe3699 Use Promise.all to fetch files part of py-config (#1322)
This is a first step towards loading more stuff simultaneously rather
than sequentially.

The functional part of this is pretty small: call `calculateFetchPaths` and
then `Promise.all(fetchPaths.map(loadFileFromURL));`. I also transposed the
return type of `calculateFetchPaths` since it's more convenient to consume
this way.

I redid the logic in `calculateFetchPaths` a bit. I renamed `src/plugins/fetch.ts`
to `calculateFetchPaths.ts` since the file performs no fetching. I also
renamed `loadFromFile` to `loadFileFromURL`.
2023-03-29 07:32:09 -07:00
..
2023-03-27 20:56:31 +05:30
2023-03-27 20:56:31 +05:30
2023-03-27 20:56:31 +05:30
2023-03-27 20:56:31 +05:30
2023-03-27 20:56:31 +05:30
2023-01-31 12:28:25 +00:00