           return
         }
       }
-    }
-
-    /// Advances the scheduler to the given instant.
-    ///
-    /// - Parameter instant: An instant in time to advance to.
-    public func advance(to instant: SchedulerTimeType) {
-      self.advance(by: self.now.distance(to: instant))
-    }
-
-    /// Advances the scheduler to the given instant.
-    ///
-    /// - Parameter instant: An instant in time to advance to.
-    public func advance(to instant: SchedulerTimeType) async {
-      await self.advance(by: self.now.distance(to: instant))
     }
 
     /// Runs the scheduler until it has no scheduled items left.

    ///   waiting to be performed for right now.
    @MainActor
    public func advance(by duration: SchedulerTimeType.Stride = .zero) async {
      let finalDate = self.lock.sync { self.now.advanced(by: duration) }

      while self.lock.sync(operation: { self.now }) <= finalDate {
        await Task.megaYield()
        let `return` = { () -> Bool in
          self.lock.lock()

  > where Scheduler: Combine.Scheduler

  extension Task where Success == Failure, Failure == Never {
    static func megaYield(count: Int = 10) async {
      for _ in 1...count {
        await Task<Void, Never>.detached(priority: .background) { await Task.yield() }.value
      }
    }
  }
