Skip to content

Hono testClient concurrency #3784

Closed Answered by askorupskyy
askorupskyy asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like I figured this out by reading hono-base.ts code further. It looks like Hono can take in a Request object, takes it apart, and push it down the stack, which is pretty crazy.

When serving the application, the adapter breaks down an incoming connection streams, and creates that Request() instance itself.

This resolves my question regarding concurrency (which is unlimited), and I am pretty amazed to see such a well-put implementation. I wish we had more docs on this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by askorupskyy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant