8000 docs: run child to direct spawn by grutt · Pull Request #1876 · hatchet-dev/hatchet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: run child to direct spawn #1876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025
Merged

Conversation

grutt
Copy link
Contributor
@grutt grutt commented Jun 18, 2025

Description

Missed some docs changes

Type of change

  • Documentation change (pure documentation change)

Copy link
vercel bot commented Jun 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hatchet-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2025 2:35pm
hatchet-v0-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2025 2:35pm

@grutt grutt requested review from abelanger5, mrkaye97 and Copilot June 18, 2025 14:30
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the example code snippets to use the new direct child spawning API (child.run(...)) instead of the older ctx.runChild(...) approach.

  • Replace all ctx.runChild(...) calls with child.run(...) in docs examples
  • Update the TypeScript sample to reflect direct child invocation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
frontend/docs/pages/home/child-spawning.mdx Updated multiple code snippets to use child.run(...)
examples/typescript/simple/workflow-with-child.ts Changed sample ctx.runChild call to child.run(...)

A750
@grutt grutt merged commit 2f4d62d into main Jun 18, 2025
9 checks passed
@grutt grutt deleted the docs--run-child-to-direct-spawn branch June 18, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0