fix(core): update

This commit is contained in:
2019-04-22 13:06:01 +02:00
parent 83807d7c5c
commit a5e849aa17
4 changed files with 38 additions and 20 deletions
+3 -1
View File
@@ -101,7 +101,9 @@ export class Universe {
const SubscriptionSocketFunction = new plugins.smartsocket.SocketFunction({
allowedRoles: [ClientRole],
funcName: 'channelSubscription',
funcDef: () => {} // TODO: implement an action upon connection of clients
funcDef: () => {
console.log('a client connected');
} // TODO: implement an action upon connection of clients
});
// add smartsocket to the running smartexpress app