refactor: mutex no longer needed
This commit is contained in:
parent
d870170aa1
commit
11ee1d687a
|
@ -6,7 +6,6 @@ import b4a from "b4a";
|
|||
|
||||
// @ts-ignore
|
||||
import Backoff from "backoff.js";
|
||||
import { Mutex } from "async-mutex";
|
||||
// @ts-ignore
|
||||
import Protomux from "protomux";
|
||||
import type { UnsubscribeFn } from "emittery";
|
||||
|
@ -161,8 +160,6 @@ export class Socket extends Client {
|
|||
private id: number;
|
||||
private eventUpdates: { [event: string]: DataFn[] } = {};
|
||||
|
||||
private syncMutex = new Mutex();
|
||||
|
||||
private swarm: SwarmClient;
|
||||
private userData?: any = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue