fix: import setTimeout so we are using the same instance in browser
This commit is contained in:
parent
62464627bc
commit
bb26fb3955
|
@ -1,6 +1,6 @@
|
||||||
import { Callback } from "streamx";
|
import { Callback } from "streamx";
|
||||||
import { TcpSocketConnectOpts } from "net";
|
import { TcpSocketConnectOpts } from "net";
|
||||||
import { clearTimeout } from "timers";
|
import { clearTimeout, setTimeout } from "timers";
|
||||||
import MultiSocketProxy from "../multiSocket.js";
|
import MultiSocketProxy from "../multiSocket.js";
|
||||||
import { PeerEntity, SocketRequest, WriteSocketRequest } from "./types.js";
|
import { PeerEntity, SocketRequest, WriteSocketRequest } from "./types.js";
|
||||||
import { maybeGetAsyncProperty } from "#util.js";
|
import { maybeGetAsyncProperty } from "#util.js";
|
||||||
|
|
Loading…
Reference in New Issue