mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Updated Design: Version Control (markdown)
parent
a723336db9
commit
5903abe37d
@ -36,6 +36,8 @@ The existing API has separate methods for saving flows and credentials. The new
|
||||
### `Storage.init(runtime)`
|
||||
- `runtime` : a RED runtime object
|
||||
|
||||
Returns a promise that resolves when the storage subsystem has been initialised and is ready for subsequent API requests.
|
||||
|
||||
Passing in the runtime object allows the storage mechanism to access the `settings`, `log` components properly as well as `comms` if it needs to send notifications to the user.
|
||||
|
||||
### `Storage.getFlows([id])`
|
||||
|
Loading…
x
Reference in New Issue
Block a user