I have three JSON APIs are loading in one page but when run its take more time to load the contents , what is the best way to make it more speed and efficient?
Asked
Active
Viewed 312 times
1 Answers
0
You could try to use Streams
to do this.
I would suggest that you take a look at this article that explains alot on how combine multiple streams.
Doing this, you could have a repository
class fetching data from your apis. Each of this would return you a Future
and you could use the method then()
to push to a stream controller.

Pyth0nGh057
- 666
- 1
- 8
- 16