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.

empty.js 375B

123456789
  1. import { Observable } from '../Observable';
  2. export const EMPTY = new Observable(subscriber => subscriber.complete());
  3. export function empty(scheduler) {
  4. return scheduler ? emptyScheduled(scheduler) : EMPTY;
  5. }
  6. function emptyScheduled(scheduler) {
  7. return new Observable(subscriber => scheduler.schedule(() => subscriber.complete()));
  8. }
  9. //# sourceMappingURL=empty.js.map