---
title: shareParticipantFetchedBlock
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckfetchshareparticipantsoperation/shareparticipantfetchedblock
---

# shareParticipantFetchedBlock

The closure to execute as the operation generates individual participants.

## Declaration

```swift
var shareParticipantFetchedBlock: ((CKShare.Participant) -> Void)? { get set }
```

## Discussion

Discussion The closure returns no value and takes the following parameters: The participant that the operation generates. The operation executes this closure once for each item of user data in the userIdentityLookupInfos property. Each time the closure executes, it executes serially with respect to the other closures of the operation. If you intend to use this closure to process results, set it before you execute the operation or submit the operation to a queue.

## See Also

### Processing the Operation’s Results

- [fetchShareParticipantsCompletionBlock](cloudkit/ckfetchshareparticipantsoperation/fetchshareparticipantscompletionblock.md)
