Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-async store creation for ReferenceStore #202

Closed
keller-mark opened this issue Aug 23, 2024 · 0 comments · Fixed by #203
Closed

Non-async store creation for ReferenceStore #202

keller-mark opened this issue Aug 23, 2024 · 0 comments · Fixed by #203

Comments

@keller-mark
Copy link
Collaborator

keller-mark commented Aug 23, 2024

In order to use ReferenceStore, store creation becomes async. This can have a big effect on the surrounding code, as the consumer and upstream call chain therefore must become async.

static async fromUrl(

Could store creation for ReferenceStore be more lazy, analogous to the ZipStore?

static fromUrl(

ZipStore does not await (this.info) until it is needed during get

let entry = (await this.info).entries[strip_prefix(key)];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant