File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ Example of a parent and child task using the Checkpoint-Resume System:
167
167
``` ts
168
168
import { task , wait } from " @trigger.dev/sdk/v3" ;
169
169
170
- const parentTask = task ({
170
+ export const parentTask = task ({
171
171
id: " parent-task" ,
172
172
run : async () => {
173
173
console .log (" Starting parent task" );
@@ -186,7 +186,7 @@ const parentTask = task({
186
186
},
187
187
});
188
188
189
- const childTask = task ({
189
+ export const childTask = task ({
190
190
id: " child-task" ,
191
191
run : async (payload : { data: string }) => {
192
192
console .log (" Starting child task with data:" , payload .data );
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Trigger.dev uses OpenTelemetry tracing under the hood. With automatic tracing fo
47
47
48
48
![ The run log] ( /images/auto-instrumentation.png )
49
49
50
- You can [ add instrumentations] ( /trigger- config#instrumentations ) . The Prisma one above will automatically trace all Prisma queries.
50
+ You can [ add instrumentations] ( /config/config-file #instrumentations ) . The Prisma one above will automatically trace all Prisma queries.
51
51
52
52
### Add custom traces
53
53
You can’t perform that action at this time.
0 commit comments