[system.plugin.execute]
system.plugin.execute is a slot in the system namespace, in Hyperlambda, the language of Magic Cloud. Loads, executes, and unloads a plugin in a single scope.
- Value (
plugin-assembly,binary-content), required: Plugin assembly filename or assembly bytes
Arguments
Required arguments come first, then the optional ones in the order they are declared.
| Argument | Type | Required | Description |
|---|---|---|---|
| any node name | lambda | no | Executable body evaluated while the plugin is loaded. Can be repeated. |
Guide: How to use [system.plugin.execute]
JSON declaration
This is the complete declaration of system.plugin.execute, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "system.plugin.execute",
"description": "Loads, executes, and unloads a plugin in a single scope",
"signature": {
"input": {
"kind": "plugin-assembly,binary-content",
"description": "Plugin assembly filename or assembly bytes",
"required": true,
"mode": "ValueOrExpression"
},
"children": {
"*": {
"type": "lambda",
"description": "Executable body evaluated while the plugin is loaded",
"required": false,
"mode": "ExecutableLambda",
"cardinality": "ZeroOrMore",
"role": "ExecutableBody",
"evaluation": "EvalSelf",
"projection": "Self"
}
}
}
}
← system.os |
all system.* slots |
system.plugin.list → |