trigger-realtime

Installation
Summary

Real-time task monitoring and streaming for Trigger.dev tasks across frontend and backend.

  • Subscribe to task runs with status updates, progress tracking, and output streaming via backend iterators or React hooks
  • Stream AI/LLM responses directly to React components using typed stream definitions that pipe OpenAI completions and other async iterables
  • Implement human-in-the-loop workflows with wait tokens that pause task execution until frontend approval or user input is received
  • Secure frontend access through scoped public tokens with fine-grained permissions (read-only, task-specific, time-limited) and trigger tokens for task initiation
SKILL.md

Trigger.dev Realtime

Subscribe to task runs and stream data in real-time from frontend and backend.

When to Use

  • Building progress indicators for long-running tasks
  • Creating live dashboards showing task status
  • Streaming AI/LLM responses to the UI
  • React components that trigger and monitor tasks
  • Waiting for user approval in tasks

Authentication

Create Public Access Token (Backend)

import { auth } from "@trigger.dev/sdk";
Related skills
Installs
1.4K
GitHub Stars
25
First Seen
Jan 28, 2026