Preparing search index...
    Index

    Constructors

    Properties

    storageProperties: { [key: string]: StorageProperty<StorageTypes> } = {}

    Methods

    • Type Parameters

      Parameters

      • store: GeneralDataStore

        The data store to apply the update to.

      • key: string

        The key to apply the update to.

      • OptionalintialValue: boolean

        The initial value to apply.

      • OptionaldontTriggerEvents: boolean

        If true, events will not be triggered.

      • OptionalupdateInfo: RealtimeStoreUpdateInfo

        Information about the update.

      Returns void

    • Returns the storage property in this set with a matching propertyKey, or null if none is found.

      Type Parameters

      Parameters

      • propertyKey: string

        propertyKey to search for

      Returns StorageProperty<T>

      StorageProperty with a matching key, or null if none is found

    • Parameters

      • store: GeneralDataStore

        The data store to initialize from.

      • OptionaldontTriggerEvents: boolean

        If true, events will not be triggered.

      Returns void

    • Receives changes from the store for all storage properties in the set.

      Returns void

    • Sends and receives changes for all storage properties in the set.

      Parameters

      • store: GeneralDataStore

        The data store to send and receive the changes.

      • serverTime: number

        The current server time.

      Returns boolean

      True if any changes were sent, false otherwise.

    • Sends changes to the store for all storage properties in the set.

      Parameters

      • store: GeneralDataStore

        The data store to send the changes to.

      • serverTime: number

      Returns boolean

      True if any changes were sent, false otherwise.