Method: Bacon::Context#wait_for_change

Defined in:
lib/mac_bacon.rb

#wait_for_change(object_to_observe, key_path, timeout = 1, &block) ⇒ Object



417
418
419
# File 'lib/mac_bacon.rb', line 417

def wait_for_change(object_to_observe, key_path, timeout = 1, &block)
  current_specification.postpone_block_until_change(object_to_observe, key_path, timeout, &block)
end