echo

echo #

Description #

The echo filter is used to output specified characters in the returned result. It is often used for debugging.

Function Demonstration #

Configuration Example #

A simple example is as follows:

flow:
  - name: hello_world
    filter:
      - echo:
          message: "hello infini\n"

The echo filter allows you to set the number of times that same characters can be output repeatedly. See the following example.

...
   - echo:
       message: "hello gateway\n"
       repeat: 3
...

Parameter Description #

NameTypeDescription
messagestringCharacters to be output
repeatintNumber of repetition times
stdoutboolWhether the terminal also outputs the characters. The default value is false.