
Trigger Realtime
triggerdotdev/skills/trigger-realtime作者 triggerdotdeve0f9f87153d1無授權條款33 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫5 週前更新
Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata and AI/text streams in React (useRealtimeStream), trigger tasks from the browser (useTaskTrigger, useRealtimeTaskTrigger), and mint scoped frontend credentials with auth.createPublicToken / auth.createTriggerPublicToken. Load when wiring a frontend (React/Next.js/Remix) or backend-for-frontend to show live run progress, status badges, token streams, trigger buttons, or wait-token approval UIs. NOT for writing the backend task itself (streams.define / metadata.set is trigger-tasks territory); this is the consumer side.
- e0f9f87153d1目前提交 e0f9f87發布於 2026年10月8日
來源與署名
來源:triggerdotdev/skills位於trigger-realtime提交e0f9f87
授權條款: 無授權條款
內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。
更多來自 triggerdotdev/skills 的技能

Trigger Tasks
triggerdotdev
Covers writing backend Trigger.dev tasks with @trigger.dev/sdk: defining task() and schemaTask(), the run function and its ctx, retries, waits, queues and concurrency, idempotency keys, run metadata, logging, triggering other tasks (and the Result shape), scheduled/cron tasks, and the essentials of trigger.config.ts. Load this whenever you are authoring or editing code inside a /trigger directory, defining a task, or writing backend code that triggers tasks. Realtime/React hooks and AI chat are covered by separate skills.

Trigger Cost Savings
triggerdotdev
分析 Trigger.dev 的工作、排程與執行紀錄,找出降低成本的機會並產出依優先順序排列的報告。