Skip to content

Exit blockly processing

bartbutenaers edited this page Aug 14, 2018 · 1 revision

Sometimes it is required to exit the Blockly processing: under certain circumstances, the remaining of the blocks shouldn't be executed anymore. Node-RED allows you to exit and send an output message in a single statement.

The following animation shows how accomplish those steps:

  1. At the start a warning 'processing started' need to be logged.
  2. Then the processing should stop, and the input message needs to be send to the output.
  3. The last warning 'processing ended' should **_not _**be logged, since the processing has ended in the previous step.

blockly_return