Javascript – Angular 17 – Trigger recurrent polling whenever a boolean variable becomes true and as long as it remains so
The situation is as follows: I have a websocket for communication between app and server. If the websocket were to break I would like to enable backup long polling until the websocket becomes active again. I thought of creating a…