Skip to content

Going 100% async + Naming convention changes #96

Locked Answered by ypcode
jansenbe asked this question in General
Discussion options

You must be logged in to vote

Hi @jansenbe,

I totally support the naming convention!
Regarding the use of GetAwaiter().GetResult(), I think that might be a bit cumbersome in user code, especially in console apps, webjobs, etc...
More than cumbersome, it could be really a pain to use because in sync programs, it stops before the tasks are done, and it can quickly become hard to figure out...

Do you think it would be that big deal to add a specific synchronous variant (for instance with a "-Synchronously" suffix that would emphasize it has to be used in specific context ?
That combined with relevant docs that it should be async first and , synchronous in context it's specifically needed (console apps, ...)

The main thin…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jansenbe
Comment options

jansenbe Jul 18, 2020
Maintainer Author

@ypcode
Comment options

@JarbasHorst
Comment options

@pkbullock
Comment options

@jansenbe
Comment options

jansenbe Jul 20, 2020
Maintainer Author

Answer selected by jansenbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants