  /**
   *  Returns an empty observable sequence, using the specified scheduler to send out the single OnCompleted message.
   *  
   * @example
   *  var res = Rx.Observable.empty();  
   *  var res = Rx.Observable.empty(Rx.Scheduler.timeout);  
   * @param {Scheduler} [scheduler] Scheduler to send the termination call on.
   * @returns {Observable} An observable sequence with no elements.
   */
  var observableEmpty = Observable.empty = function (scheduler) {
    isScheduler(scheduler) || (scheduler = immediateScheduler);
    return new AnonymousObservable(function (observer) {
      return scheduler.schedule(function () {
        observer.onCompleted();
      });
    });
  };
