You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 being suspend we can not call Promise<T>.await()
The text was updated successfully, but these errors were encountered:
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: