/
TON618OFF
/
FinalPWHTML
Обзор
Документация
Войти
/
TON618OFF
/
FinalPWHTML
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
node_modules/bfj/src/stream.js
23 строки
504 B
TON618OFF
не ну это ваще
23 июн 2024, 00:30
23 июн 2024, 00:30
e27ae20
Код
Авторство
О чём код?
'use strict' const util = require('util') const Readable = require('stream').Readable const check = require('check-types') util.inherits(BfjStream, Readable) module.exports = BfjStream function BfjStream (read, options) { if (check.not.instanceStrict(this, BfjStream)) { return new BfjStream(read) } check.assert.function(read, 'Invalid read implementation') this._read = function () { // eslint-disable-line no-underscore-dangle read() } return Readable.call(this, options) }