Commit Detail
Commit d3dedcb
Tidy up pyodide bundle API (#2504) This adds a Mutex around the bundleReaders map and makes `getPyodideBundle` return a Maybe<bundle> rather than asserting that the bundle is defined. This means we can get rid of `hasPyodideBundle` in favor of checking whether `getPyodideBundle` returns `none`. I also moved the state into a `PyodideBundleManager` class and removed the global variables.
Files changed
3 files changed~3 modified