This node allows you to set and cache values across multiple executions of your workflow so that you can have persistent data to be manipulated on demand.
To use this node, you must give your variable a UNIQUE and CASE SENSITIVE name by which your data will be referred to elsewhere. This Data may then be accessed in any other nodes from this pack that support the FORMULA output such as the [Data Monitor] and inside Custom Expressions of the [IF Selector] node. Refer to the documentation of those nodes to learn how to access Memory Storages within them.
The Input of this node will set the value of the Memory Storage and additionally forward it as a Passthrough to the node of your choice via its singular Output. If Input is missing, the Node will emit the value associated with the Memory Storage specified by Name.
If Reset is set to true, the Memory Storage associated with this node will be cleared instead. The Output of this node will be NULL regardless of Passthrough. Convert this widget into an input to be able to reset the Memory Storage programatically based on certain conditions.
If AcceptNulls is enabled, you will be able to manually clear the Storage by sending a None type value through Input such as one obtained from the [Null Output] node in this pack. If AcceptNulls is disabled, any None type values will be ignored, allowing you to ensure the memory is set only to valid values. This can be useful, for instance, when connecting a [Memory Storage] node to a [Universal Switch] node as it will ignore any invalid outputs that were not selected and retain its previous value instead.
HOVER OVER THE INPUTS AND OUTPUTS FOR MORE INFO.
By VykosXΒ·Created 2 years agoΒ·Updated 2 years agoΒ· 147
ποΈ Memory Storage
Input
Output
βNameββΊ
βResetββΊ
βAcceptNullsββΊ
CategoryπΊ VykosX-ControlFlowUtils
Inputs (4)
Name
Type
Default
Description
Name
STRING
Unique and case-sensitive identifier for the Memory Storage
Inputopt
*
Value to set the Memory Storage to, and to passthrough
Resetopt
BOOLEAN
If enabled, forcefully clears the Memory Storage
AcceptNullsopt
BOOLEAN
Specifies whether the Memory Storage should ignore Null values
Outputs (1)
Name
Type
Description
Output
*
Data that will be forwarded to other nodes after caching