Skip to content

Commit e8222f7

Browse files
Document onTriggeredRun callback option in streams guide
Co-authored-by: Eric Allam <eric@trigger.dev>
1 parent 3f1d98f commit e8222f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/tasks/streams.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ The default payload sent to your task is a rich, typed object that includes:
613613
- `payloadMapper` (sync or async) for custom task payload shapes
614614
- `triggerOptions` as an object or resolver function (sync or async)
615615
- `runStore` for custom reconnect-state persistence (including async stores)
616+
- `onTriggeredRun` callback (sync or async) to persist or observe run IDs
616617

617618
```ts
618619
import type { TriggerChatRunState, TriggerChatRunStore } from "@trigger.dev/ai";

0 commit comments

Comments
 (0)