Skip to content

why using await for setting/getting sessions ? #151

Answered by maxcountryman
HosMercury asked this question in Q&A
Discussion options

You must be logged in to vote

This is necessary because sessions are lazy and therefore are not loaded until the moment they're actually used; loading a session from some arbitrary store is an asynchronous action. The motivation for this design was outlined in depth in this PR and the linked discussion therein.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HosMercury
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants