I have a Component, which have child component. at ngOnInit() I'm calling Web API and get list of data. 

Initial point length of the list is 10, But it will have more.

Need to execute some method (task|process|job) in background to take rest of the data 10 by 10 in a loop which would run parallel to other task in background no matter what the user is currently doing, which component he/she is interacting with. And execute that method so that it doesn't block others.

What is the correct way to do this?