Skip to content

Commit febd642

Browse files
committed
Describe samples
1 parent 470b50b commit febd642

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

docs/source/includes/_samples.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,72 @@
22

33
## Activity Registration
44

5+
Shows to register activities, both as plain functions and on `struct`s to share state.
6+
57
## Cancellation
68

9+
Shows how to cancel a workflow and now to react to cancellation in workflow implementations.
10+
711
## Complex Parameters
812

13+
Demonstrates how to pass complex parameters to workflows and activities.
14+
915
## Concurrent
1016

17+
Demonstrates how to run multiple activities concurrently.
18+
1119
## Context Propagation
1220

21+
Shows how to propagate context into workflows and from there to activities.
22+
1323
## Continue-As-New
1424

25+
Shows how to use `ContinueAsNew` to restart a workflow for "infinite" workflows.
26+
1527
## Converter
1628

29+
Shows how to use a custom converter to convert between different types.
30+
1731
## Errors
1832

33+
Shows how to handle errors in workflows and activities.
34+
1935
## Retries
2036

37+
Demonstrates sub-workflow and activity retries.
38+
2139
## Scale
2240

41+
Simple sample with a split worker and "starter" process.
42+
2343
## Signal
2444

45+
Shows how to send and receive signals to workflow.
46+
2547
## Signal to a Sub-Workflow
2648

49+
Shows how to send signals to a sub-workflows.
50+
2751
## Simple
2852

53+
Simple end-to-end sample with a single activity.
54+
2955
## Simple (Split Worker)
3056

57+
Same as the simple example, but with a split worker and "starter" process.
58+
3159
## Sub-Workflow
3260

61+
Shows how to implement and call a sub-workflow from a workflow.
62+
3363
## Timer
3464

65+
Shows how to use timers in workflows.
66+
3567
## Tracing
3668

37-
## Web / Diagnostic UI
69+
Shows how to use OpenTelemetry to trace workflows and activities.
70+
71+
## Web / Diagnostic UI
72+
73+
Shows how to use the Web UI to monitor workflows and activities.

0 commit comments

Comments
 (0)