Skip to content

[Obsolete][CS0618] AwaitResult > Use ShouldCompleteWithin instead #6498

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

Merged
merged 22 commits into from
Mar 20, 2023
Merged

[Obsolete][CS0618] AwaitResult > Use ShouldCompleteWithin instead #6498

merged 22 commits into from
Mar 20, 2023

Conversation

eaba
Copy link
Contributor

@eaba eaba commented Mar 7, 2023

No description provided.

@eaba eaba marked this pull request as ready for review March 8, 2023 14:06
{
var task = AggregateSource.RunWith(Sink.First<int>(), Materializer);
task.AwaitResult().Should().Be(Expected);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does AwaitResult do and is it different than ShouldCompleteWithin?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"warning CS0618: 'Utils.AwaitResult(Task, TimeSpan?)' is obsolete: 'Use ShouldCompleteWithin instead'"

@eaba eaba marked this pull request as draft March 9, 2023 15:45
@eaba eaba marked this pull request as ready for review March 9, 2023 17:32
@Aaronontheweb
Copy link
Member

@eaba I think you have some more additional comments from @Arkatufus that need to be addressed from his last review

@Aaronontheweb Aaronontheweb merged commit a1d663f into akkadotnet:dev Mar 20, 2023
@eaba eaba deleted the use_should_complete_within branch March 21, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants