Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

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