allSubscriptions()
Fetches all subscriptions from the current database.
Declaration
func allSubscriptions() async throws -> [CKSubscription]Return Value
The database’s subscriptions.
Discussion
This method throws an error if the request fails, such as when the network is unavailable or the device doesn’t have an active iCloud account.
For information on a more configurable way to fetch all subscriptions from a specific database, see fetchAllSubscriptionsOperation().