Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 452 Bytes

File metadata and controls

19 lines (12 loc) · 452 Bytes

Trigger.dev Guide Outline

Page Title

Make a Trigger.dev task payable with TDM

Story

  1. Define a normal Trigger task
  2. Build a live fetch-hook client for TDM
  3. Wrap the task body with makePayable(...)
  4. Keep all pricing inputs explicit in the task payload

Why this resonates

  • durable background execution stays unchanged
  • TDM only decides whether the premium action is authorized
  • the payment-aware wrapper stays in TypeScript