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

renderToResonse 支持 await #5984

Closed
chenjun1011 opened this issue Feb 28, 2023 · 0 comments · Fixed by #5950
Closed

renderToResonse 支持 await #5984

chenjun1011 opened this issue Feb 28, 2023 · 0 comments · Fixed by #5950
Labels

Comments

@chenjun1011
Copy link
Collaborator

Describe the bug

renderToResonse 在 pipe 完成后没有通过 onAllReady 进行通知,导致在 egg 应用下 Suspense 时 stream 会自动关闭,无法输出后续内容

Expected behavior

支持 await renderToResonse 从而避免 stream 被提前关闭

Actual behavior

No response

Version of ice.js

3

Content of build.json or ice.config.mts

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant