--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Searches for a service for timeout seconds and returns the results after stopping the search. Can be given a block for immediate result processing.
- !ruby/struct:SM::Flow::VERB 
  body: " # Find the Git servers that respond in 5 seconds or less\n results = Easyjour.search(5, 'git')\n results.each do |result|\n   puts &quot;git://#{result.target}:#{result.port}&quot;\n end\n"
full_name: Easyjour::synchronous_search
is_singleton: true
name: synchronous_search
params: (timeout, service, protocol = :tcp, &block)
visibility: public
