*Change end to close
This commit is contained in:
parent
4799cf4a98
commit
14d6888baf
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue