| layout | docs-api | ||||||
|---|---|---|---|---|---|---|---|
| toc | toc-api-context.html | ||||||
| title | Memory Context Store | ||||||
| slug |
|
New in 0.19
The Memory Context store is the default store used by Node-RED. It holds all context data in memory and is wiped whenever Node-RED restarts. It provides both synchronous and asynchronous access.
To create a memory store, the following configuration can be used.
{% highlight javascript %} contextStorage: { default: { module:"memory", } } {% endhighlight %}
The memory store does not provide any configuration options.