Skip to main content

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

NameTypeDescription
refConstructorReferenceConstructorThe constructor used to create references within the DataStore.
composedProtobufStoreComposedProtobufStoreThe protobuf store component that will be part of the new DataStore.

Returns

TypeDescription
*DataStoreA new instance of DataStore.