import { Server } from "https://deno.land/x/socket_io@0.2.0/mod.ts";
Makes the matching socket instances join the specified rooms.
Note: this method also works within a cluster of multiple Socket.IO servers, with a compatible Adapter.
Examples
// make all socket instances join the "room1" room
io.socketsJoin("room1");
// make all socket instances join the "room1" room io.socketsJoin("room1");
// make all socket instances in the "room1" room join the "room2" and "room3" rooms io.in("room1").socketsJoin(["room2", "room3"]);