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 550B

12345678910111213
  1. import { InnerSubscriber } from '../InnerSubscriber';
  2. import { subscribeTo } from './subscribeTo';
  3. import { Observable } from '../Observable';
  4. export function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, destination = new InnerSubscriber(outerSubscriber, outerValue, outerIndex)) {
  5. if (destination.closed) {
  6. return undefined;
  7. }
  8. if (result instanceof Observable) {
  9. return result.subscribe(destination);
  10. }
  11. return subscribeTo(result)(destination);
  12. }
  13. //# sourceMappingURL=subscribeToResult.js.map