*Change socket listen module method name to be consistent with the rest
This commit is contained in:
parent
e211fa3b48
commit
e84b009244
|
@ -79,7 +79,7 @@ export class Socket extends Client {
|
||||||
context?: any
|
context?: any
|
||||||
): this {
|
): this {
|
||||||
const [update, promise] = this.connectModule(
|
const [update, promise] = this.connectModule(
|
||||||
"listenSocketEvent",
|
"socketListenEvent",
|
||||||
{ id: this.id, event: event },
|
{ id: this.id, event: event },
|
||||||
(data: any) => {
|
(data: any) => {
|
||||||
this.emit(event, data);
|
this.emit(event, data);
|
||||||
|
|
Loading…
Reference in New Issue