UNPKG

@tdengine/websocket

Version:

The websocket Node.js connector for TDengine. TDengine versions 3.3.2.0 and above are recommended to use this connector.

14 lines 582 B
import { WebSocketConnector } from "./wsConnector"; export declare class WebSocketConnectionPool { private static _instance?; private pool; private readonly _maxConnections; private static sharedBuffer; private static sharedArray; private constructor(); static instance(maxConnections?: number): WebSocketConnectionPool; getConnection(url: URL, timeout: number | undefined | null): Promise<WebSocketConnector>; releaseConnection(connector: WebSocketConnector): Promise<void>; destroyed(): void; } //# sourceMappingURL=wsConnectorPool.d.ts.map