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

Hypothetical session by reference #2

Open
khionu opened this issue Oct 31, 2024 · 0 comments
Open

Hypothetical session by reference #2

khionu opened this issue Oct 31, 2024 · 0 comments

Comments

@khionu
Copy link

khionu commented Oct 31, 2024

There is possible room for using sessions by mutable reference. Having the session chain with references allows the original session to be saved in a store and retrieved by reference. This would improve the ergonomics of eg storing sessions in DashMap.

A foreseen concern is that this might not be viable for all the same use cases, so some experimentation to evaluate viability is needed.

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

No branches or pull requests

1 participant