constructor()

in src/ResultReadable.ts [50:61]


    constructor(txnId: string, executeResult: ExecuteStatementResult, communicator: Communicator) {
        super({ objectMode: true });
        this._communicator = communicator;
        this._cachedPage = executeResult.FirstPage;
        this._txnId = txnId;
        this._shouldPushCachedPage = true;
        this._retrieveIndex = 0;
        this._isPushingData = false;
        this._readIOs = executeResult.ConsumedIOs == null ? null : executeResult.ConsumedIOs.ReadIOs;
        this._processingTime =
            executeResult.TimingInformation == null ? null : executeResult.TimingInformation.ProcessingTimeMilliseconds;
    }