Put async back to the starter

for better understanding with the beginners
This commit is contained in:
Huan LI
2018-07-18 13:42:51 +08:00
committed by GitHub
parent 05db856b17
commit ffd04d8cbe
+1 -1
View File
@@ -32,6 +32,6 @@ function onLogout(user) {
console.log(`${user} logout`)
}
function onMessage (msg) {
async function onMessage (msg) {
console.log(msg.toString())
}