<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CloudKitJS",
  "identifier" : "/documentation/CloudKitJS/CloudKit/Promise",
  "metadataVersion" : "0.1.0",
  "role" : "",
  "symbol" : {
    "kind" : "",
    "modules" : [
      "CloudKit JS"
    ],
    "preciseIdentifier" : "clconst/CloudKit/Promise"
  },
  "title" : "Promise"
}
-->

# Promise

Represents an operation that hasn’t completed yet, but is expected in the future.

```
const Object Promise;
```

## Discussion

The asynchronous methods in CloudKit JS return a `Promise` object that resolves when the operation completes or is rejected due to an error. For a description of the `Promise` class returned by these methods, go to Mozilla Developer Network: Promise.

---

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)