How Data Flows

Data from outputs flow asynchronously through the platform. Timing of when inputs arrive to a component or object can be important in some cases.

Data Flows Asynchronously

In the following example, an image is output from the camera view and sent to two components.

  1. Text Extraction

  2. Data display

The image will be send immediately to the data display, whereas the text from the text extraction will arrive shortly after. They do not arrive together.

In many cases this example is okay. Most components are designed to work with inputs that arrive at different times. The way each component specifically handles this will be outlined in each component.

Data Travels in Batches

The underlying Cloneable platform transmits data in batches. A batch can contain a single output, or many as they are submitted to inputs on a new component.

Combining Data Into a Single Batch

In some cases you may need to ensure data travels to inputs on a component as part of the same batch. There are a number of reasons this may be needed. If a component requires inputs to be part of the same batch, the inputs will usually appear grouped in the builder, and the component will highlight the requirement in the components documentation.

Components are provided to help combine data back into a single batch in the case that it is a requirement.

Consolidate Inputs

Last updated