diff --git a/definitions/http/runtime_definition/control/http_control_respond.json b/definitions/http/runtime_definition/control/http_control_respond.json new file mode 100644 index 0000000..d2dc88f --- /dev/null +++ b/definitions/http/runtime_definition/control/http_control_respond.json @@ -0,0 +1,54 @@ +{ + "runtime_name": "http::control::respond", + "runtime_parameter_definitions": [ + { + "data_type_identifier": { + "type": { + "DataTypeIdentifier": "HTTP_RESPONSE" + } + }, + "runtime_name": "http_response", + "default_value": null, + "name": [ + { + "code": "en-US", + "content": "Http Response" + } + ], + "description": [ + { + "code": "en-US", + "content": "The response object that will be returned to the client." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Takes an HTTP response object and transmits it to the requesting client. This parameter represents the final output of the server, including headers, status code, and body content." + } + ] + } + ], + "return_type_identifier": null, + "deprecation_message": [], + "name": [ + { + "code": "en-US", + "content": "Respond" + } + ], + "description": [ + { + "code": "en-US", + "content": "Handles an HTTP response object and returns it to the client." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Processes an HTTP response and returns it to the requesting client. This function typically completes the HTTP request–response cycle by delivering the server’s final output, such as headers, status codes, and body content, back to the client." + } + ], + "throws_error": false, + "generic_keys": [] +} diff --git a/definitions/standard/runtime_definition/control/control-audit.md b/definitions/standard/runtime_definition/control/control-audit.md index e5a654b..ab78d8f 100644 --- a/definitions/standard/runtime_definition/control/control-audit.md +++ b/definitions/standard/runtime_definition/control/control-audit.md @@ -7,3 +7,8 @@ ## Added - break + +16.10.2025 + +## Renamed +break -> stop \ No newline at end of file diff --git a/definitions/standard/runtime_definition/control/std_control_break.json b/definitions/standard/runtime_definition/control/std_control_break.json deleted file mode 100644 index e19fdf3..0000000 --- a/definitions/standard/runtime_definition/control/std_control_break.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "runtime_name": "std::control::break", - "runtime_parameter_definitions": [], - "return_type_identifier": null, - "throws_error": false, - "generic_keys": [], - "name": [ - { - "code": "en-US", - "content": "Break" - } - ], - "description": [ - { - "code": "en-US", - "content": "Breaks the current loop." - } - ], - "documentation": [ - { - "code": "en-US", - "content": "Breaks the current loop." - } - ], - "deprecation_message": [] -} \ No newline at end of file diff --git a/definitions/standard/runtime_definition/control/std_control_return.json b/definitions/standard/runtime_definition/control/std_control_return.json index ad246cb..42578f7 100644 --- a/definitions/standard/runtime_definition/control/std_control_return.json +++ b/definitions/standard/runtime_definition/control/std_control_return.json @@ -18,13 +18,13 @@ "description": [ { "code": "en-US", - "content": "The value to be returned." + "content": "The value to be returned to the upper context." } ], "documentation": [ { "code": "en-US", - "content": "This value will be returned to the upper context." + "content": "Specifies the value that will be returned to the upper context. When this node executes, it immediately halts the iteration and passes the value upward." } ] } @@ -47,14 +47,14 @@ "description": [ { "code": "en-US", - "content": "Returns the specified value to the upper context." + "content": "Returns a value and terminates the current context." } ], "documentation": [ { "code": "en-US", - "content": "Returns the specified value to the upper context." + "content": "Ends the current context and returns the specified value to the upper scope. This node behaves like a standard 'return' statement in programming languages, stopping further execution within the current flow." } ], "deprecation_message": [] -} \ No newline at end of file +} diff --git a/definitions/standard/runtime_definition/control/std_control_stop.json b/definitions/standard/runtime_definition/control/std_control_stop.json new file mode 100644 index 0000000..dcee778 --- /dev/null +++ b/definitions/standard/runtime_definition/control/std_control_stop.json @@ -0,0 +1,26 @@ +{ + "runtime_name": "std::control::stop", + "runtime_parameter_definitions": [], + "return_type_identifier": null, + "throws_error": false, + "generic_keys": [], + "name": [ + { + "code": "en-US", + "content": "Stop" + } + ], + "description": [ + { + "code": "en-US", + "content": "Completely stops the current context and prevents any further iterations." + } + ], + "documentation": [ + { + "code": "en-US", + "content": "Terminates the current execution context entirely, halting all ongoing and future iterations. Once invoked, no additional steps or loops within this context will be executed. This node behaves like a global stop or termination signal within the flow." + } + ], + "deprecation_message": [] +} \ No newline at end of file