pubsub-engine.js 505 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.PubSubEngine = void 0;
  4. var pubsub_async_iterator_1 = require("./pubsub-async-iterator");
  5. var PubSubEngine = (function () {
  6. function PubSubEngine() {
  7. }
  8. PubSubEngine.prototype.asyncIterator = function (triggers) {
  9. return new pubsub_async_iterator_1.PubSubAsyncIterator(this, triggers);
  10. };
  11. return PubSubEngine;
  12. }());
  13. exports.PubSubEngine = PubSubEngine;
  14. //# sourceMappingURL=pubsub-engine.js.map