# Trigger Realtime

> Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @…

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.

- Page: https://ss33.ai/skills/triggerdotdev/trigger-realtime-34871331649
- Publisher: triggerdotdev
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [Frontend & UI](https://ss33.ai/skills/category/software-development-t44z8z/frontend-and-ui-q25e9r)
- Source: https://github.com/triggerdotdev/skills/blob/e0f9f87153d1502fd9f6298e2eb1d58cfd7f9871/trigger-realtime/SKILL.md

## Skill

This skill's licence does not allow redistribution, so the store does not serve its text. Get it from the author: https://github.com/triggerdotdev/skills/blob/e0f9f87153d1502fd9f6298e2eb1d58cfd7f9871/trigger-realtime/SKILL.md
