CollectionConfig

Configuration for a Collection, populated in the Documents.collection block.

Properties

Link copied to clipboard

Decorators applied to every Document opened in this collection. A document's own decorators, if any, are appended after these. See FieldDecorator for the extension point this attaches.

Link copied to clipboard
var dispatcher: CoroutineDispatcher

The dispatcher on which Document.flow and Document.stateFlow collection runs. The work is CPU-bound serialization, so this defaults to Dispatchers.Default.