diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/rxjs/internal/util/subscribeToPromise.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/rxjs/internal/util/subscribeToPromise.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/rxjs/internal/util/subscribeToPromise.js b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/util/subscribeToPromise.js deleted file mode 100644 index 6125789f..00000000 --- a/sandbox/testAppNevena/Front/node_modules/rxjs/internal/util/subscribeToPromise.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var hostReportError_1 = require("./hostReportError"); -exports.subscribeToPromise = function (promise) { return function (subscriber) { - promise.then(function (value) { - if (!subscriber.closed) { - subscriber.next(value); - subscriber.complete(); - } - }, function (err) { return subscriber.error(err); }) - .then(null, hostReportError_1.hostReportError); - return subscriber; -}; }; -//# sourceMappingURL=subscribeToPromise.js.map
\ No newline at end of file |