Concepts
Delays
Delays can be used to wait for a certain amount of time before continuing a Run.
These are the docs for Trigger.dev v2 which will be deprecated on January 31st, 2025. You probably want the v3 docs.
Runs can be paused using delays. They can be very long.
Delays works even if you’re on a serverless platform with timeouts, or if your server goes down. They utilize resumability to ensure that the Run can be resumed after the delay.
Usage
Wait example