This node can be used as a cache management component for another node. Caching is in general used by default in NodeBuilder but this node allows the usage of a shared parent cache during the build process.
Constructor
new IsolateNode(node, parent?)| Parameter | Type | Default Value |
|---|---|---|
| node | Node | — |
| parent? | boolean | true |
Constructs a new cache node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| node | Node | — | |
| parent | boolean | — | |
| isIsolateNode | boolean | — | |
| Method | Type | |
|---|---|---|
| generateNodeType | (builder: any) => string | |
| build | (builder: any, ...params: Array<…>) => null | string | Node | |
| setParent | (parent: any) => this | |
| getParent | () => boolean | |
Extends
NodeTSL function for creating a cache node.
| Parameter | Type | Default Value |
|---|---|---|
| node | Node | — |
Returns
IsolateNodeTSL function for creating a cache node.
| Parameter | Type | Default Value |
|---|---|---|
| node | Node | — |
| parent? | boolean | true |
Returns
IsolateNode