@onzag/itemize / Modules / server/cache
This is a very important class that contains the whole redis wrapping that basically keeps everything synchronized, all the servers and tells the clients that are connected to this specific instance, it provides functionality to update, create and delete item definition values
▸ analyzeIdefForPossibleParent(possibleParent, idef): boolean
This function analyzes an item definition to check for a possible parent and returns true if there's any parent rule within itself, including its children that matches the possible parent
| Name | Type | Description |
|---|---|---|
possibleParent |
default |
the possible parent |
idef |
default |
the item definition in question |
boolean
a simple boolean
▸ analyzeModuleForPossibleParent(possibleParent, module): default[]
This function finds modules for a given module, including its children that do match a possible parent rule
| Name | Type | Description |
|---|---|---|
possibleParent |
default |
the possible parent |
module |
default |
the current module to analyze |
default[]
a list of modules