UNPKG

gypsum

Version:

Simple and easy lightweight typescript server side framework on Node.js.

11 lines 316 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function joinRoom(ctx, rooms, sockets) { ctx.joinRoom(rooms, sockets) .then(() => { ctx.next(); }) .catch(err => ctx.next(err)); } exports.joinRoom = joinRoom; //# sourceMappingURL=join_room.js.map