Trigger.dev example for durable paid tasks
Show one durable task where only the premium action becomes payable through TDM.
Documentation • SDK Repo • GitHub • X/Twitter
████████╗ ██████╗ ███╗ ███╗
╚══██╔══╝ ██╔══██╗ ████╗ ████║
██║ ██║ ██║ ██╔████╔██║
██║ ██║ ██║ ██║╚██╔╝██║
██║ ██████╔╝ ██║ ╚═╝ ██║
╚═╝ ╚═════╝ ╚═╝ ╚═╝
TDM TRIGGER.DEV [EXAMPLE REPO]
Durable Task + Paid Action
Mode: example-first | Docs: todealmarket.com/docs
tdm-trigger-dev is an example-first TDM integration for Trigger.dev.
The right story is simple:
- keep normal durable task execution
- wrap only the premium action
- let TDM decide whether the paid step can run
Verified against the current official Trigger.dev docs:
- use
task(...)from@trigger.dev/sdk - durable logic lives inside
run(...) - long-running and retried execution is already handled by Trigger.dev
examples/paid-task.tsguide.md
This should be pitched as a premium task action, not as a separate orchestration runtime.