mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
12 lines
225 B
JavaScript
12 lines
225 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
|
|
const Readable = require('stream').Readable;
|
|
|
|
const _read = common.mustCall(function _read(n) {
|
|
this.push(null);
|
|
});
|
|
|
|
const r = new Readable({ read: _read });
|
|
r.resume();
|