Skip to content

Command Batching

Grisgram edited this page Oct 3, 2025 · 12 revisions

Description

Command batching was implemented to allow combining multiple commands into a single expression.
Although this feature is very specific and not often used in practice, it still has valid use cases.
In particular, it provides opportunities for RichJson modules.

Syntax

member: { "key": "#first#second#third:<params>" }
key: "#first#second#third:key": { ... }

Note

The commands are executed in order, each using the result of the previous command (if available)

Example

Before Applyment

function do_something() {
    return "Hello World!";
}

{
    "text": "#func#invoke:do_something"
}

After Applyment

{
    "text": "Hello World!"
}

Author’s Recommendation: next read Command Piping

Clone this wiki locally