Spanish Total.js
English
Documentation For AI agents
Contents

Flow and FlowStreams

Components that debug a FlowStream, extend the server and pass data between FlowStreams.

.md GitHub
On this page

Components that debug a FlowStream, extend the server and pass data between FlowStreams. This page holds the catalogue groups Flow, FlowStream.

Each entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see Download components.

API

component

consoledebug.html · version 4

Prints incoming messages and debug logs in the console of the designer.
ParameterTypeDescription
native? Boolean Append the log messages to the native web developer console. Default: true
console? Boolean Capture all console.log(). Default: false

Inputs: none.

Outputs: none.

A FlowStream can hold only one node of this component.

The component can print the payload of incoming messages and instance.debug() log messages in JSON format.

component

consolelog.html · version 1

Prints the message into the console of the server.

Inputs: input (Input).

Outputs: none.

This component prints a message into the console.

component

debug.html · version 4

Prints incoming messages and debug logs in JSON format.
ParameterTypeDescription
repo? Boolean Shows repository. Default: false
debug? Boolean Shows debug messages. Default: true
data? Boolean Shows data. Default: true

Inputs: none.

Outputs: none.

A FlowStream can hold only one node of this component.

The component can print the payload of incoming messages and instance.debug() log messages in JSON format.

component

flowrecorder.html · version 1

Records significant events of the FlowStream worker.

Inputs: none.

Outputs: none.

A FlowStream can hold only one node of this component.

As the FlowStream worker runs, the component records significant information. The component can reveal hidden bugs or performance issues. The component stores data in the logs/* directory.

component

input.html · version 2

Receives data that a Publish component sends from another FlowStream.
ParameterTypeDescription
name? String Input name. Default: Input
readme? String Readme.

Inputs: none.

Outputs: data (Data).

The component receives data in an encapsulated FlowStream.

component

kill.html · version 1

Kills the current FlowStream process.

Inputs: input (Input).

Outputs: none.

Be careful because this component will kill the current Flow instance. It's targeted only for exceptional cases.

component

output.html · version 2

Sends data to the Subscribe components of other FlowStreams.
ParameterTypeDescription
name? String Output name. Default: Output
readme? String Readme.

Inputs: data (Data).

Outputs: none.

The component can send data from an encapsulated FlowStream.

component

publish.html · version 5

Sends data to an Input component of another FlowStream.
ParameterTypeDescription
id? String Input.

Inputs: data (Data).

Outputs: none.

The component publish the data to the specific Input component.

component

serverextension.html · version 1

Installs a Total.js server-side extension from your code.
ParameterTypeDescription
name? String Name. Default: My extension
install? String Installation code. It runs when the node starts and when its configuration changes.
uninstall? String Uninstallation code.
icon? String Icon.

Inputs: none.

Outputs: none.

The component installs Total.js server-side extension. In other words: it can evaluate JavaScript code when the component is initialized or the component settings is changed.

component

subscribe.html · version 4

Receives data from an Output component of another FlowStream.
ParameterTypeDescription
id? String Output.

Inputs: none.

Outputs: data (Data).

The component subscribes to the specific Output component.

Made in Europe