-
Notifications
You must be signed in to change notification settings - Fork 19
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
http.createServer should accept suspend function #19
Comments
This is working in js. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In http.createServer(RequestListener),
RequestListener
should be a suspend function. In traditional Js, we can set this function to async and call await inside of it, But without RequestListener beingsuspend
we can not callPromise<T>.await()
The text was updated successfully, but these errors were encountered: