We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The ISessionManager interface switched to using an async approach, which is good in itself.
ISessionManager
async
However the TryGetAsync function uses an out parameter which forbids declaring the function as async - so you cannot await Tasks in the function body.
out
await
Task
This feels a bit awkward - do you have any example on how to best tackle that?
The text was updated successfully, but these errors were encountered:
This is definitely a problem and needs to be addressed in the next release. An oversight in the transition to async.
Sorry, something went wrong.
jimmyca15
Successfully merging a pull request may close this issue.
The
ISessionManager
interface switched to using anasync
approach, which is good in itself.However the TryGetAsync function uses an
out
parameter which forbids declaring the function asasync
- so you cannotawait
Task
s in the function body.This feels a bit awkward - do you have any example on how to best tackle that?
The text was updated successfully, but these errors were encountered: