refactor: mutex no longer needed

This commit is contained in:
Derrick Hammer 2023-07-21 20:10:14 -04:00
parent d870170aa1
commit 11ee1d687a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 3 deletions

View File

@ -6,7 +6,6 @@ import b4a from "b4a";
// @ts-ignore // @ts-ignore
import Backoff from "backoff.js"; import Backoff from "backoff.js";
import { Mutex } from "async-mutex";
// @ts-ignore // @ts-ignore
import Protomux from "protomux"; import Protomux from "protomux";
import type { UnsubscribeFn } from "emittery"; import type { UnsubscribeFn } from "emittery";
@ -161,8 +160,6 @@ export class Socket extends Client {
private id: number; private id: number;
private eventUpdates: { [event: string]: DataFn[] } = {}; private eventUpdates: { [event: string]: DataFn[] } = {};
private syncMutex = new Mutex();
private swarm: SwarmClient; private swarm: SwarmClient;
private userData?: any = null; private userData?: any = null;