Add Workflow Streams documentation for the TypeScript SDK#4620
Add Workflow Streams documentation for the TypeScript SDK#4620brianstrauch wants to merge 8 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📖 Docs PR preview links
|
|
I am going to take a look at the content across this and the Python pages and isolate some language neutral content out into our conceptual sections, and create sub pages as needed to reduce single page length |
Mirrors the existing Python SDK Workflow Streams page, adapted for the
TypeScript implementation in @temporalio/workflow-streams: construct at
the top of the Workflow function, `await using` for client disposal,
`{ forceFlush: true }` option syntax, `defineSignal`/`setHandler` for
the ack handshake, and `makeContinueAsNewFunc` for non-default CAN
options. Wired into the TypeScript Workflows sidebar and index.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…e for reference throughout docs
…Streams encyclopedia page
…low Streams encyclopedia page
2e013ce to
667bdbf
Compare
There was a problem hiding this comment.
@brianstrauch Just finished splitting out some of the content to the encyclopedia and shortened the Python and TS pages. All that's left are the couple comments about the links and we can get this merged when you're ready.
|
|
||
| ## See also | ||
|
|
||
| - [Workflow Streams samples (samples-typescript)](https://github.com/temporalio/samples-typescript/tree/main/workflow-streams): runnable scenarios covering basic publish/subscribe, reconnecting subscribers, external publishers, bounded logs, and LLM streaming. |
There was a problem hiding this comment.
@brianstrauch Is this link live yet? It's going to a 404 right now.
| ## See also | ||
|
|
||
| - [Workflow Streams samples (samples-typescript)](https://github.com/temporalio/samples-typescript/tree/main/workflow-streams): runnable scenarios covering basic publish/subscribe, reconnecting subscribers, external publishers, bounded logs, and LLM streaming. | ||
| - [`@temporalio/workflow-streams` API reference](https://typedoc.io/packages/@temporalio/workflow-streams). |
There was a problem hiding this comment.
@brianstrauch Same question here. Is this link supposed to be live yet?
Summary
docs/develop/typescript/workflows/workflow-streams.mdx, a TypeScript counterpart to the existing Python Workflow Streams page.await usingfor client disposal,{ forceFlush: true }option syntax,defineSignal/setHandlerfor the ack handshake, andmakeContinueAsNewFuncfor non-default Continue-As-New options.sidebars.js) and the workflow index page.Test plan
yarn buildsucceeds (verifies frontmatter parses and intra-site anchors#continue-as-new,#closing-the-stream,#stream-llm-output,#delivery-semantics,#architecture,#tuning,#publish-from-a-clientresolve)yarn startshows "Workflow Streams" under TypeScript SDK → Workflows in the sidebar🤖 Generated with Claude Code
┆Attachments: EDU-6428 Add Workflow Streams documentation for the TypeScript SDK