Cloud object provides access to an app container, and through the app container, access to its databases. It also contains methods for authenticating and fetching users.
- CloudKit JS 1.0+
You do not create container objects yourself, nor should you subclass the
Cloud class. You configure a container using the
configure method and obtain a container using one of the
Cloud namespace container methods.
The asynchronous methods in this class return a
Promise object that resolves when the operation completes. For a description of the
Promise class returned by these methods, go to Mozilla Developer Network: Promise.
This class is similar to the
CKContainer class in the CloudKit framework.