<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKShareRequestAccessOperation/shareAccessRequestResultBlock",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:So29CKShareRequestAccessOperationC8CloudKitE05sharecB11ResultBlockys0H0Oyyts5Error_pGcSgvp"
  },
  "title" : "shareAccessRequestResultBlock"
}
-->

# shareAccessRequestResultBlock

The closure to execute after CloudKit processes each share access request.

```
var shareAccessRequestResultBlock: ((Result<Void, any Error>) -> Void)? { get set }
```

## Discussion

Use this closure to handle the overall success or failure of the operation.

The closure returns no value and takes the following parameter:

- A <doc://com.apple.documentation/documentation/Swift/Result> that contains either:
  - A successful `Result`, or
  - An error that contains information about a problem encountered processing the share access requests.

The closure executes only once, and represents your final opportunity to process the operation’s results. It executes after all share access request completion closures finish. The closure executes serially with respect to the other closures of the operation.

Update the value of this property before you execute the operation or submit it to a queue.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)