]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0084.git/blobdiff - example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/mqtt/test/util.js
Updated Sensor To Cloud design to have an easy to use setup GUI on the
[apps/tidep0084.git] / example / iot-gateway / node_modules / aws-iot-device-sdk / node_modules / mqtt / test / util.js
diff --git a/example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/mqtt/test/util.js b/example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/mqtt/test/util.js
deleted file mode 100644 (file)
index 07b92bf..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-'use strict';
-/*global setImmediate:true*/
-var through = require('through2'),
-  setImmediate = global.setImmediate || function (callback) {
-    setTimeout(callback, 0);
-  };
-
-module.exports.testStream = function () {
-  return through(function (buf, enc, cb) {
-    var that = this;
-    setImmediate(function () {
-      that.push(buf);
-      cb();
-    });
-  });
-};