Does attaching an async upgrade function cause error? #1023
Replies: 1 comment
-
Spent some more time reading the docs got the answer |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see that in uWs, you need to attach an upgrade function, but that function is supposed to be sync and every async things need to happen in res.cork, but attaching an async function didn't cause any error. So is there any downside to doing that? I don't know why the implementation is done this way. Need some context for this
Beta Was this translation helpful? Give feedback.
All reactions