|
1 | 1 | ---
|
2 |
| -title: "Writing tasks: Introduction" |
3 |
| -sidebarTitle: "Introduction" |
| 2 | +title: "Writing tasks: Overview" |
| 3 | +sidebarTitle: "Overview" |
4 | 4 | description: "Tasks are the core of Trigger.dev. They are long-running processes that are triggered by events."
|
5 | 5 | ---
|
6 | 6 |
|
| 7 | +import ExamplesCards from "/snippets/examples-cards.mdx"; |
| 8 | + |
7 | 9 | Before digging deeper into the details of writing tasks, you should read the [fundamentals of tasks](/tasks/overview) to understand what tasks are and how they work.
|
8 | 10 |
|
9 | 11 | ## Writing tasks
|
10 | 12 |
|
11 |
| -| Topic | Description | |
12 |
| -| :---------------------------------------------------| :------------------------------------------------------------------------------------------------------------------------ | |
13 |
| -| [Logging](/logging) | View and send logs and traces from your tasks. | |
14 |
| -| [Errors & retrying](/errors-retrying) | How to deal with errors and write reliable tasks. | |
15 |
| -| [Wait](/wait) | Wait for periods of time or for external events to occur before continuing. | |
16 |
| -| [Concurrency & Queues](/queue-concurrency) | Configure what you want to happen when there is more than one run at a time. | |
17 |
| -| [Versioning](/versioning) | How versioning works. | |
18 |
| -| [Machines](/machines) | Configure the CPU and RAM of the machine your task runs on | |
19 |
| -| [Idempotency](/idempotency) | Protect against mutations happening twice. | |
20 |
| -| [Replaying](/replaying) | You can replay a single task or many at once with a new version of your code. | |
21 |
| -| [Notifications](/notifications) | Send realtime notifications from your task that you can subscribe to from your backend or frontend. | |
| 13 | +| Topic | Description | |
| 14 | +| :------------------------------------------- | :-------------------------------------------------------------------------------------------------- | |
| 15 | +| [Logging](/logging) | View and send logs and traces from your tasks. | |
| 16 | +| [Errors & retrying](/errors-retrying) | How to deal with errors and write reliable tasks. | |
| 17 | +| [Wait](/wait) | Wait for periods of time or for external events to occur before continuing. | |
| 18 | +| [Concurrency & Queues](/queue-concurrency) | Configure what you want to happen when there is more than one run at a time. | |
| 19 | +| [Realtime notifications](/realtime/overview) | Send realtime notifications from your task that you can subscribe to from your backend or frontend. | |
| 20 | +| [Versioning](/versioning) | How versioning works. | |
| 21 | +| [Machines](/machines) | Configure the CPU and RAM of the machine your task runs on | |
| 22 | +| [Idempotency](/idempotency) | Protect against mutations happening twice. | |
| 23 | +| [Replaying](/replaying) | You can replay a single task or many at once with a new version of your code. | |
| 24 | +| [Max duration](/runs/max-duration) | Set a maximum duration for your task to run. | |
| 25 | +| [Tags](/tags) | Tags allow you to easily filter runs in the dashboard and when using the SDK. | |
| 26 | +| [Metadata](/runs/metadata) | Attach a small amount of data to a run and update it as the run progresses. | |
| 27 | +| [Usage](/run-usage) | Get compute duration and cost from inside a run, or for a specific block of code. | |
| 28 | +| [Context](/context) | Access the context of the task run. | |
| 29 | +| [Bulk actions](/bulk-actions) | Run actions on many task runs at once. | |
| 30 | + |
| 31 | +<ExamplesCards /> |
0 commit comments