StorageApi
Home > @backstage/core-plugin-api > StorageApi
Provides a key-value persistence API.
Signature:
export interface StorageApi
Methods
|
Method |
Description |
|---|---|
|
Create a bucket to store data in. | |
|
Observe the value over time for a particular key in the current bucket. | |
|
Remove persistent data. | |
|
Save persistent data, and emit messages to anyone that is using StorageApi.observe$() for this key. | |
|
Returns an immediate snapshot value for the given key, if possible. |