Skip to content
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

Support the Mutiny AsyncFile type as a return type #20374

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Sep 24, 2021

Fixes: #20352

file.close();
response.end();
// Not sure if I need to resume, actually
ctx.resume();
Copy link
Member

Choose a reason for hiding this comment

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

out of curiosity, why would resume be not needed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just copied what Stef had done for the core AsyncFile.

I agree it seems like it's needed...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, actually it is not needed because the Writers are the last handler.

@geoand geoand merged commit b1c7147 into quarkusio:main Sep 24, 2021
@quarkus-bot quarkus-bot bot added this to the 2.4 - main milestone Sep 24, 2021
@geoand geoand deleted the #20352 branch September 24, 2021 16:38
@geoand geoand modified the milestones: 2.4 - main, 2.3.0.Final Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Returning Uni<AsyncFile> doesn't work as described
2 participants