Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 2.22 KB

File metadata and controls

61 lines (40 loc) · 2.22 KB

TDM Trigger.dev

TDM Trigger.dev

Trigger.dev example for durable paid tasks

Example Repo GitHub stars Trigger.dev TypeScript

Show one durable task where only the premium action becomes payable through TDM.

DocumentationSDK RepoGitHubX/Twitter

████████╗ ██████╗  ███╗   ███╗
╚══██╔══╝ ██╔══██╗ ████╗ ████║
   ██║    ██║  ██║ ██╔████╔██║
   ██║    ██║  ██║ ██║╚██╔╝██║
   ██║    ██████╔╝ ██║ ╚═╝ ██║
   ╚═╝    ╚═════╝  ╚═╝     ╚═╝

TDM TRIGGER.DEV [EXAMPLE REPO]
Durable Task + Paid Action
Mode: example-first | Docs: todealmarket.com/docs

What Is This Repo?

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

Current API Notes

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

Included

  • examples/paid-task.ts
  • guide.md

TDM Fit

This should be pitched as a premium task action, not as a separate orchestration runtime.