Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

subscribeToResult.js 697B

1234567891011121314151617
  1. /** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo,_Observable PURE_IMPORTS_END */
  2. import { InnerSubscriber } from '../InnerSubscriber';
  3. import { subscribeTo } from './subscribeTo';
  4. import { Observable } from '../Observable';
  5. export function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, destination) {
  6. if (destination === void 0) {
  7. destination = new InnerSubscriber(outerSubscriber, outerValue, outerIndex);
  8. }
  9. if (destination.closed) {
  10. return undefined;
  11. }
  12. if (result instanceof Observable) {
  13. return result.subscribe(destination);
  14. }
  15. return subscribeTo(result)(destination);
  16. }
  17. //# sourceMappingURL=subscribeToResult.js.map