*Change end to close

This commit is contained in:
Derrick Hammer 2022-08-31 20:34:41 -04:00
parent 4799cf4a98
commit 14d6888baf
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ export class Socket extends EventEmitter {
callModule(DHT_MODULE, "write", { id: this.id, message });
}
end(): void {
close(): void {
callModule(DHT_MODULE, "socketExists", { id: this.id }).then(
([exists]: ErrTuple) => {
if (exists) {