packages/grpc-native-core/src/server.js
function ServerWritableStream(call, metadata, serialize) {
  Writable.call(this, {objectMode: true});
  this.call = call;

  this.finished = false;
  setUpWritable(this, serialize);
  /**
   * Indicates if the call has been cancelled
   * @member {boolean} grpc~ServerWritableStream#cancelled
   */
  this.cancelled = false;
  /**
   * The request metadata from the client
   * @member {grpc.Metadata} grpc~ServerWritableStream#metadata
   */
  this.metadata = metadata;
  /**
   * The request message from the client
   * @member {*} grpc~ServerWritableStream#request
   */
  this.request = undefined;
}
function ServerWritableStream(call, metadata, serialize) {
  Writable.call(this, {objectMode: true});
  this.call = call;

  this.finished = false;
  setUpWritable(this, serialize);
  /**
   * Indicates if the call has been cancelled
   * @member {boolean} grpc~ServerWritableStream#cancelled
   */
  this.cancelled = false;
  /**
   * The request metadata from the client
   * @member {grpc.Metadata} grpc~ServerWritableStream#metadata
   */
  this.metadata = metadata;
  /**
   * The request message from the client
   * @member {*} grpc~ServerWritableStream#request
   */
  this.request = undefined;
}
function ServerWritableStream ( call , metadata , serialize ) { Writable . call ( this , { objectMode : true } ) ; this . call = call ; this . finished = false ; setUpWritable ( this , serialize ) ; /**
   * Indicates if the call has been cancelled
   * @member {boolean} grpc~ServerWritableStream#cancelled
   */ this . cancelled = false ; /**
   * The request metadata from the client
   * @member {grpc.Metadata} grpc~ServerWritableStream#metadata
   */ this . metadata = metadata ; /**
   * The request message from the client
   * @member {*} grpc~ServerWritableStream#request
   */ this . request = undefined ; }
A stream that the server can write to. Used for calls that are streaming from
the server side.
@constructor grpc~ServerWritableStream
@extends external:Writable
@borrows grpc~ServerUnaryCall#sendMetadata as
grpc~ServerWritableStream#sendMetadata
@borrows grpc~ServerUnaryCall#getPeer as grpc~ServerWritableStream#getPeer
@param {grpc.internal~Call} call The call object to send data with
@param {grpc.Metadata} metadata The request metadata from the client
@param {grpc~serialize} serialize Serialization function for writes
A stream that the server can write to . Used for calls that are streaming from the server side .