*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
|
||||
): this {
|
||||
const [update, promise] = this.connectModule(
|
||||
"listenSocketEvent",
|
||||
"socketListenEvent",
|
||||
{ id: this.id, event: event },
|
||||
(data: any) => {
|
||||
this.emit(event, data);
|
||||
|
|
Loading…
Reference in New Issue