Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* Patch a writable streaming request to the GrpcService object.
*
* @private
*/
GrpcServiceObject.prototype.requestWritableStream = function() {
return this.parent.requestWritableStream.apply(this.parent, arguments);
};
/*! Developer Documentation
*
* All async methods (except for streams) will return a Promise in the event
* that a callback is omitted.
*/
util.promisifyAll(GrpcServiceObject);
module.exports = GrpcServiceObject;
/**
* Patch a writable streaming request to the GrpcService object.
*
* @private
*/
GrpcServiceObject.prototype.requestWritableStream = function() {
return this.parent.requestWritableStream.apply(this.parent, arguments);
};
/*! Developer Documentation
*
* All async methods (except for streams) will return a Promise in the event
* that a callback is omitted.
*/
util.promisifyAll(GrpcServiceObject);
module.exports = GrpcServiceObject;