import { Sender } from "https://deno.land/x/snel@v0.7.1/imports/wocket.ts";
The Sender class is responsible for adding messages to the message queue, and then to work through the queue stack which will send the message.
Properties
A queue of packets.
Methods
private
send(): Promise<void>Encodes messages and sends event to all clients listening to the channel or event except for the sender.
Adds a new message to the message queue to be sent.
hasPackets(): boolean
Does this sender have packets that still need to be sent?