Flow and FlowStreams
Components that debug a FlowStream, extend the server and pass data between FlowStreams.
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.
consoledebug.html · version 4| Parameter | Type | Description |
|---|---|---|
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.
consolelog.html · version 1Inputs: 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.
debug.html · version 4| Parameter | Type | Description |
|---|---|---|
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.
flowrecorder.html · version 1Inputs: 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.
input.html · version 2| Parameter | Type | Description |
|---|---|---|
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.
kill.html · version 1Inputs: 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.
output.html · version 2| Parameter | Type | Description |
|---|---|---|
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.
publish.html · version 5| Parameter | Type | Description |
|---|---|---|
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.
serverextension.html · version 1| Parameter | Type | Description |
|---|---|---|
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.
subscribe.html · version 4| Parameter | Type | Description |
|---|---|---|
id? |
String |
Output. |
Inputs: none.
Outputs: data (Data).
The component subscribes to the specific Output component.