createReadable function

Readable createReadable (
  1. ReadableOptions options
)

Creates custom Readable stream with provided options.

This is the same as callConstructor(stream.Readable, [options]);.

Implementation

Readable createReadable(ReadableOptions options) {
  return callConstructor(stream.Readable, [options]);
}