Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Nemo y aero son 2 empresas que me dan Hoteles.
- nemo_thread = Thread.new{Thread.current["nemo"] = NemoHotelManager.new.call(query)}
- aero_thread = Thread.new{Thread.current["aero"] = AeroHotelManager.new.call(query)}
- nemo_thread.join
- aero_thread.join
- # sigo el flujo normal y uso nemo_thread["nemo"] y aero_thread["aero"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement