*Methods not needed

This commit is contained in:
Derrick Hammer 2023-02-17 21:05:28 -05:00
parent ee3e71351c
commit 36dd596aab
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 17 deletions

View File

@ -169,14 +169,6 @@ export class Socket extends Client {
return super.on(event, fn, context) as this; return super.on(event, fn, context) as this;
} }
onSelf<T extends EventEmitter.EventNames<string | symbol>>(
event: T,
fn: EventEmitter.EventListener<string | symbol, T>,
context?: any
): this {
return super.on(event, fn, context) as this;
}
off<T extends EventEmitter.EventNames<string | symbol>>( off<T extends EventEmitter.EventNames<string | symbol>>(
event: T, event: T,
fn?: EventEmitter.EventListener<string | symbol, T>, fn?: EventEmitter.EventListener<string | symbol, T>,
@ -191,15 +183,6 @@ export class Socket extends Client {
return super.off(event, fn, context, once); return super.off(event, fn, context, once);
} }
offSelf<T extends EventEmitter.EventNames<string | symbol>>(
event: T,
fn?: EventEmitter.EventListener<string | symbol, T>,
context?: any,
once?: boolean
): this {
return super.off(event, fn, context, once);
}
write(message: string | Buffer): void { write(message: string | Buffer): void {
this.callModule("socketWrite", { id: this.id, message }); this.callModule("socketWrite", { id: this.id, message });
} }