Relative Content

Tag Archive for angularangularjs

Angular textarea does not update data on time but the console shows it correctly

I use service socket.io to emit and receive data. When the send button is clicked it emits data and shows “FENEmitInfo” then receives the data and shows “FENSocketioGetCnt” and “FENSocketioFilterCnt”.
The console shows data correctly and on time but the textarea does not update all the data on time, there is a delay on showing the data the next time.
How can I fix this?
Thanks in advance.

Angular textarea does not update data on time but the console shows it correctly

I use service socket.io to emit and receive data. When the send button is clicked it emits data and shows “FENEmitInfo” then receives the data and shows “FENSocketioGetCnt” and “FENSocketioFilterCnt”.
The console shows data correctly and on time but the textarea does not update all the data on time, there is a delay on showing the data the next time.
How can I fix this?
Thanks in advance.

Angular rxjs – Call API recursively till status is true

I have 4 API calls first is to authenticate and than to upload a file and check file status. Once file status is return true than call API 4.
Issue is with the fileStatus, I need to check file status till it is returned true and than only move, however, it just checks once and move to the next switchMap.
Below is the code –