NewCompositeDataStore
Composes a new DataStore.
def NewCompositeDataStore(
refConstructor: ReferenceConstructor,
composedProtobufStore: ComposedProtobufStore
) - > *DataStore
Composes a new DataStore instance using the provided reference constructor and composed protobuf store. This function is used to initialize a DataStore with its necessary components.
Parameters
| Name | Type | Description |
|---|---|---|
| refConstructor | ReferenceConstructor | The constructor used to create references within the DataStore. |
| composedProtobufStore | ComposedProtobufStore | The protobuf store component that will be part of the new DataStore. |
Returns
| Type | Description |
|---|---|
*DataStore | A new instance of DataStore. |