---
title: Flow and FlowStreams
project: Flow
version: 11.1
section: components
language: en
license: MIT
url: https://totaljs.es/docs/flow/11-1/components/flow-and-flowstreams/
updated: 2026-11-20T06:50:52.962Z
---

# Flow and FlowStreams

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

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](/flow/11-1/guides/download-components/).

## API

### consoledebug.html · version 4

Type: `component`

Prints incoming messages and debug logs in the console of the designer.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `native` | `Boolean` | no | `true` | Append the log messages to the native web developer console. |
| `console` | `Boolean` | no | `false` | Capture all console.log(). |

**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.

### consolelog.html · version 1

Type: `component`

Prints the message into the console of the server.

**Inputs:** `input` (Input).  
**Outputs:** none.

This component prints a message into the console.

### debug.html · version 4

Type: `component`

Prints incoming messages and debug logs in JSON format.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `repo` | `Boolean` | no | `false` | Shows repository. |
| `debug` | `Boolean` | no | `true` | Shows debug messages. |
| `data` | `Boolean` | no | `true` | Shows data. |

**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.

### flowrecorder.html · version 1

Type: `component`

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.

### input.html · version 2

Type: `component`

Receives data that a Publish component sends from another FlowStream.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `name` | `String` | no | `Input` | Input name. |
| `readme` | `String` | no |  | Readme. |

**Inputs:** none.  
**Outputs:** `data` (Data).

The component receives data in an encapsulated FlowStream.

### kill.html · version 1

Type: `component`

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.

### output.html · version 2

Type: `component`

Sends data to the Subscribe components of other FlowStreams.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `name` | `String` | no | `Output` | Output name. |
| `readme` | `String` | no |  | Readme. |

**Inputs:** `data` (Data).  
**Outputs:** none.

The component can send data from an encapsulated FlowStream.

### publish.html · version 5

Type: `component`

Sends data to an Input component of another FlowStream.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `id` | `String` | no |  | Input. |

**Inputs:** `data` (Data).  
**Outputs:** none.

The component publish the data to the specific `Input` component.

### serverextension.html · version 1

Type: `component`

Installs a Total.js server-side extension from your code.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `name` | `String` | no | `My extension` | Name. |
| `install` | `String` | no |  | Installation code. It runs when the node starts and when its configuration changes. |
| `uninstall` | `String` | no |  | Uninstallation code. |
| `icon` | `String` | no |  | 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.

### subscribe.html · version 4

Type: `component`

Receives data from an Output component of another FlowStream.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `id` | `String` | no |  | Output. |

**Inputs:** none.  
**Outputs:** `data` (Data).

The component subscribes to the specific `Output` component.
