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

Task.Result should throw if a task is not completed #968

Closed
Jand42 opened this Issue Jun 26, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@Jand42
Member

Jand42 commented Jun 26, 2018

The .Result property is blocking in .NET, we can't have that in JavaScript. Still it would be less confusing if there is an explicit error thrown instead of returning undefined.

Original report: https://forums.websharper.com/topic/85373#85383

@Jand42 Jand42 closed this in 1a2a991 Jun 26, 2018

@Tarmil Tarmil added the 4.3.0.274 label Jun 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment