I am working on an electron app with Angular2 for frontend. When user reaches the home page, angular starts a http.get service which initiates a hardware device which waits for user input in form of RFID cards. When user response is triggered then express returns the GET call with data. User event may occur from a few seconds to few hours. It works fine if user responds quickly but after a couple of minutes Angular doesn't show the response.
I am sorry for the unclear question details. I don't know what code to add. Any help would be highly appreciated.