Function drainStream

  • Drains the response stream, as calling destroy on a Stream.Readable response stream will result in closing the underlying socket, and negate the KeepAlive feature benefits. See https://github.com/ClickHouse/clickhouse-js/pull/203

    Parameters

    • stream: Readable

    Returns Promise<void>

Generated using TypeDoc