nodeway-helloworld
{ ... } // Nodeway中定义 { ... } // Nodeway中定义 static { ... } // Nodeway中定义 static { ... } // Nodeway中定义 { ... } // Nodeway中定义 async { ... } moduleexports = HelloWorld;
on()
var api = ;api;
emit()
api;
static get onlineUsers()
let onlineUsers = HelloWorldonlineUsers;
static get onlineCount()
let onlineCount = HelloWorldonlineCount;
broadcast()
api;
say()
try let message = await api; console;catche {}
License
MIT © May xiaoya zhang