sharedCollection

abstract fun <T> sharedCollection(initializer: SharedPersistentDataSet.Initializer<T>.() -> Unit): SharedPersistentDataSet<T>

Create a new shared persistent collection. A shared collection can be written by one user and read by many. The collection returned by this function is writable. It is persisted in the cloud.

Parameters

initializer

The initializer for the collection.