Class: Groonga::Client::Protocol::HTTP::Coolio::Request
- Inherits:
-
Object
- Object
- Groonga::Client::Protocol::HTTP::Coolio::Request
- Defined in:
- lib/groonga/client/protocol/http/coolio.rb
Instance Method Summary collapse
-
#initialize(client, loop) ⇒ Request
constructor
A new instance of Request.
- #wait ⇒ Object
Constructor Details
#initialize(client, loop) ⇒ Request
Returns a new instance of Request.
29 30 31 32 |
# File 'lib/groonga/client/protocol/http/coolio.rb', line 29 def initialize(client, loop) @client = client @loop = loop end |
Instance Method Details
#wait ⇒ Object
34 35 36 37 38 |
# File 'lib/groonga/client/protocol/http/coolio.rb', line 34 def wait until @client.finished? @loop.run_once end end |