# File lib/ruote/log/test_logger.rb, line 87
    def wait_for (interests)

      @waiting << [ Thread.current, interests ]

      check_waiting

      Thread.stop if @waiting.find { |w| w.first == Thread.current }

      # and when this thread gets woken up, go on and return __result__

      Thread.current['__result__']
    end