Skip to content

Commit 244033d

Browse files
committed
docs: child context
- Rewrites child-context.md to be equally useful to TypeScript, Python, and Java developers - Removes Table of Contents, back-links, Terminology, Key Features, Best Practices, and FAQ sections - Adds walkthrough, method signature, ChildConfig, context function, naming, concurrency, and testing sections for all three languages - Explains why child contexts are required for concurrent durable operations and the rules for using runInChildContext safely - Adds new example files under examples/{typescript,python,java}/ operations/child-contexts/ closes #71, closes #53, closes #35
1 parent ba93922 commit 244033d

66 files changed

Lines changed: 602 additions & 385 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/getting-started/key-concepts.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ Wrap such non-deterministic code in [steps](../sdk-reference/operations/step.md)
141141
### Rules for deterministic durable operations
142142

143143
1. All durable operations in a context must start sequentially.
144-
2. To run durable operations concurrently, wrap each set of operations in its own child
145-
context and then run the child contexts concurrently.
144+
2. To run durable operations concurrently, wrap each set of operations in its own
145+
[child context](../sdk-reference/operations/child-context.md) and then run the
146+
child contexts concurrently.
146147
3. Only use the child `DurableContext` in the child context scope. Do not use any
147148
parent's context in a child context scope.
148149

0 commit comments

Comments
 (0)