Overview
You can use data to perform various operations in Swarm. Data consists of key-value pairs, whereby key is the name and value is the actual value of that piece of data. For example, a piece of data might have a key of first_name and a value of John.
The following are 3 types of data that can be used in Swarm.
- Task data – Data used to run a task
- Data Store – Static data to store variables, secret fields, tables, code snippets and files
- Metadata – Data that contains information about the job