getStorage

declare function getStorage(storageName: StorageName): IStorageSchema<IStorageData>;

Retrieves a storage schema by its name from the swarm's storage schema service. Logs the operation if logging is enabled in the global configuration.

Parameter Description
storageName The name of the storage.