Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sockets/src/event_emitter.ts

A WebSocket library for Deno.
Latest
import * as sockets from "https://deno.land/x/sockets@v0.5.0/src/event_emitter.ts";

Classes

The EventEmitter class is responsible for the logic of sending and receiving messages. To do this, it aggregates information on clients, such as tracking how many clients are connected and what channels are open.