Skip to content

Commit ed1c71f

Browse files
[docs] add o11y hint at the end of example code (#313)
1 parent c1ccdc8 commit ed1c71f

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

docs/content/docs/getting-started/hono.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ export async function handleUserSignup(email: string) {
121121
await sleep("5s"); // Pause for 5s - doesn't consume any resources
122122
await sendOnboardingEmail(user);
123123

124+
console.log("Workflow is complete! Run 'npx workflow web' to inspect your run")
125+
124126
return { userId: user.id, status: "onboarded" };
125127
}
126128
```

docs/content/docs/getting-started/next.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ export async function handleUserSignup(email: string) {
148148
await sleep("5s"); // Pause for 5s - doesn't consume any resources
149149
await sendOnboardingEmail(user);
150150

151+
console.log("Workflow is complete! Run 'npx workflow web' to inspect your run")
152+
151153
return { userId: user.id, status: "onboarded" };
152154
}
153155

docs/content/docs/getting-started/nitro.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ export async function handleUserSignup(email: string) {
102102
await sleep("5s"); // Pause for 5s - doesn't consume any resources
103103
await sendOnboardingEmail(user);
104104

105+
console.log("Workflow is complete! Run 'npx workflow web' to inspect your run")
106+
105107
return { userId: user.id, status: "onboarded" };
106108
}
107109
```

docs/content/docs/getting-started/nuxt.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ export async function handleUserSignup(email: string) {
100100
await sleep("5s"); // Pause for 5s - doesn't consume any resources
101101
await sendOnboardingEmail(user);
102102

103+
console.log("Workflow is complete! Run 'npx workflow web' to inspect your run")
104+
103105
return { userId: user.id, status: "onboarded" };
104106
}
105107
```

docs/content/docs/getting-started/sveltekit.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ export async function handleUserSignup(email: string) {
105105
await sleep("5s"); // Pause for 5s - doesn't consume any resources
106106
await sendOnboardingEmail(user);
107107

108+
console.log("Workflow is complete! Run 'npx workflow web' to inspect your run")
109+
108110
return { userId: user.id, status: "onboarded" };
109111
}
110112

0 commit comments

Comments
 (0)