# File lib/termtter/task_manager.rb, line 52
    def invoke_and_wait(&block)
      synchronize do
        yield
      end
    end