Method: Bixby::WebSocket::APIChannel#fetch_response
- Defined in:
- lib/bixby-common/websocket/api_channel.rb
#fetch_response(id) ⇒ JsonResponse
Fetch the response for the given request
57 58 59 60 61 |
# File 'lib/bixby-common/websocket/api_channel.rb', line 57 def fetch_response(id) res = @responses[id].response @responses.delete(id) res end |