Methods
configPlugin(chain, nameopt)
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
chain |
ObjChain | ||
name |
string |
<optional> |
flow(…funcs) → {function}
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
funcs |
Array:.<function()> |
<repeatable> |
functions to flow left to right |
Returns:
passes args through the functions, bound to this
- Type
- function
remove(key) → {ObjChain}
delete. remove
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | any |
Returns:
- Type
- ObjChain
set(key, val) → {ObjChain}
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | any | |
val |
Serializable | any |
Returns:
@chainable
- Type
- ObjChain
write() → {ObjChain}
save/write data
Returns:
- Type
- ObjChain