UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

17 lines (16 loc) 505 B
import { __extends } from "tslib"; import { Writable } from "stream"; var Collector = (function (_super) { __extends(Collector, _super); function Collector() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.bufferedBytes = []; return _this; } Collector.prototype._write = function (chunk, encoding, callback) { this.bufferedBytes.push(chunk); callback(); }; return Collector; }(Writable)); export { Collector };