Before digging deeper into the details of writing tasks, you should read the fundamentals of tasks to understand what tasks are and how they work.

Writing tasks

TopicDescription
LoggingView and send logs and traces from your tasks.
Errors & retryingHow to deal with errors and write reliable tasks.
WaitWait for periods of time or for external events to occur before continuing.
Concurrency & QueuesConfigure what you want to happen when there is more than one run at a time.
VersioningHow versioning works.
MachinesConfigure the CPU and RAM of the machine your task runs on
IdempotencyProtect against mutations happening twice.
ReplayingYou can replay a single task or many at once with a new version of your code.
NotificationsSend realtime notifications from your task that you can subscribe to from your backend or frontend.