---
title: BundledParallelTaskCompletion
framework: SCSIControllerDriverKit
role: symbol
role_heading: Instance Method
path: scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/bundledparalleltaskcompletion
---

# BundledParallelTaskCompletion

Indicates to the system that the extension completed a bundled asynchronous request.

## Declaration

```occ
virtual void BundledParallelTaskCompletion(OSAction *action, const uint16_t parallelResponseSlotIndices[32], uint16_t parallelResponseSlotIndicesCount);
```

## Parameters

- `action`: A pointer to the doc://com.apple.documentation/documentation/DriverKit/OSAction object of the asynchronous request that the system specifies in a doc://com.apple.scsicontrollerdriverkit/documentation/SCSIControllerDriverKit/IOUserSCSIParallelInterfaceController/UserProcessBundledParallelTasks call.
- `parallelResponseSlotIndices`: The indices of the shared response buffer slots containing a doc://com.apple.scsicontrollerdriverkit/documentation/SCSIControllerDriverKit/SCSIUserParallelResponse for each task to complete.
- `parallelResponseSlotIndicesCount`: The number of tasks to complete. Ensure that entries from zero to (parallelResponseSlotIndicesCount - 1) have valid indicies.

## Discussion

Discussion Use this method to complete one or more requests previously received by the UserProcessBundledParallelTasks method. For each request to complete: Populate a SCSIUserParallelResponse. Make the response available in the shared response buffers. Pass the response buffer slot in parallelResponseSlotIndices. The command and response buffers have a one-to-one mapping; use the same slot number for related command and response payloads.

## See Also

### Managing bundled parallel tasks

- [UserProcessBundledParallelTasks](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userprocessbundledparalleltasks.md)
- [UserMapBundledParallelTaskCommandAndResponseBuffers](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/usermapbundledparalleltaskcommandandresponsebuffers.md)
- [kMaxBundledParallelTasks](scsicontrollerdriverkit/kmaxbundledparalleltasks.md)
