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.

27 lines (26 loc) 682 B
var AbortSignal = (function () { function AbortSignal() { this.onabort = null; this._aborted = false; Object.defineProperty(this, "_aborted", { value: false, writable: true, }); } Object.defineProperty(AbortSignal.prototype, "aborted", { get: function () { return this._aborted; }, enumerable: false, configurable: true }); AbortSignal.prototype.abort = function () { this._aborted = true; if (this.onabort) { this.onabort(this); this.onabort = null; } }; return AbortSignal; }()); export { AbortSignal };