this.description="Split the input data up based on the specified delimiter and run all subsequent operations on each branch separately.<br><br>For example, to decode multiple Base64 strings, enter them all on separate lines then add the 'Fork' and 'From Base64' operations to the recipe. Each string will be decoded separately.";
this.inputType="string";
this.outputType="string";
this.args=[
{
"name":"Split delimiter",
"type":"binaryShortString",
"value":"\\n"
},
{
"name":"Merge delimiter",
"type":"binaryShortString",
"value":"\\n"
},
{
"name":"Ignore errors",
"type":"boolean",
"value":false
}
];
}
/**
* @param {Object} state - The current state of the recipe.
* @param {number} state.progress - The current position in the recipe.
* @param {Dish} state.dish - The Dish being operated on.
* @param {Operation[]} state.opList - The list of operations in the recipe.
* @returns {Object} The updated state of the recipe.