createWritable function

Writable createWritable(
  1. WritableOptions options
)

Creates custom Writable stream with provided options.

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

Implementation

Writable createWritable(WritableOptions options) {
  return callConstructor(stream.Writable, [options]);
}