fix: import setTimeout so we are using the same instance in browser

This commit is contained in:
Derrick Hammer 2023-07-09 10:59:14 -04:00
parent 62464627bc
commit bb26fb3955
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import { Callback } from "streamx";
import { TcpSocketConnectOpts } from "net";
import { clearTimeout } from "timers";
import { clearTimeout, setTimeout } from "timers";
import MultiSocketProxy from "../multiSocket.js";
import { PeerEntity, SocketRequest, WriteSocketRequest } from "./types.js";
import { maybeGetAsyncProperty } from "#util.js";