"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SimpleStream = void 0;
const stream_1 = require("stream");
function SimpleStream(value) {
    const pass = new stream_1.PassThrough();
    const readStream = new stream_1.Readable({
        read() { },
    });
    readStream.push(value);
    readStream.push(null);
    return readStream.pipe(pass);
}
exports.SimpleStream = SimpleStream;
