ModuleStoreProvider

public class ModuleStoreProvider

A class responsible for registering and returning the DataStore instances required by individual modules.

  • Registers a module for storage and returns its DataStore object, which can be used to read/write data.

    Declaration

    Swift

    public func getModuleStore(name: String) throws -> any DataStore

    Parameters

    name

    The module name whose DataStore is required.