Introduction to Bulk Operations

Learn about bulk operations in the context of our project.

We'll cover the following

Bulk operations are tasks performed on a large scale, such as uploading many files, deleting many items in one shot, and assigning recipes to the same category on a mass scale. We’ll start by explaining the requirement and the type of bulk operation we’ll consider, and then we’ll walk you through the different steps to implement the reactive pattern for implementing bulk operations. Finally, we’ll learn about the reactive pattern for tracking progress.

Defining the requirements

In the UI, the bulk operation is represented by one action or event. In the background, there are two possible behaviors, whether running one network request for all the tasks or running parallel network requests for every task. In this chapter, we want to allow the user to upload the recipe images in one shot, track the progress of the upload operation, and display this progress to the user.

Get hands-on with 1400+ tech skills courses.