-
Notifications
You must be signed in to change notification settings - Fork 56
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
Async local storage #278
Comments
Discussed with @ojanvafai at this week's F2F meeting. We didn't really cover the exact semantics of Async Local Storage -- the new mechanism for exposing features took up most of the discussion time. |
Just dug into the transasction lifetimes of operations; if I read the spec correctly, everything serializes on previous operations completing. Is this likely to be a performance hazard? |
In general, we are quite happy with this API. In particular, this has great "layering"--not adding new magic, which is good. Also, this feature gets exposed through the new module import mechanism which is cool--first feature to be released into the platform that's not available by default in the global realm. Some other feedback:
|
The known prefix "optimization" is in the event the trees get too big the namespace gives the implementations a bit of leeway to throw in tricks such as lazy loading by shattering the trees. @inexorabletash might have some extra comments on that feedback above. |
Paris F2F: Thanks for requesting a review! Closing as we don't have any further feedback. As always, ping us again if you'd like additional review as a result of changes. Thanks for flying TAG! |
For posterity:
I think this is done in the spec; the When the spec graduates from incubation and is incorporated into the IndexedDB spec itself, we could add a note to the relevant IDB methods discouraging web developers from using the
This was addressed in the spec; we now use async iterators for keys/values/entries. |
Hello TAG!
I'm requesting a TAG review of:
Further details (optional):
You should also know that...
This is designed as a layered API; see #276 for that review request.
We'd prefer the TAG provide feedback as (please select one):
The text was updated successfully, but these errors were encountered: