DevDataStore
Home > @backstage/backend-dev-utils
> DevDataStore
A data store that can be used to store temporary data during development.
Signature:
class DevDataStore
Methods
Method | Modifiers | Description |
---|---|---|
get() | static | Tries to acquire a DevDataStore instance. This will only succeed when the backend process is being run through the @backstage/cli in development mode. |
load(key) | Loads data from the data store. | |
save(key, data) | Save data to the data store. |