Skip to content

Use await instead of GetAwaiter.GetResult #775

@darrelmiller

Description

@darrelmiller

As the command handler is called asynchronously, we can use async/await instead of GetAwaiter.GetResult. I suspect this may be the source of some deadlocks we are seeing.

).ReadAsync(stream).GetAwaiter().GetResult();

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions