Skip to content

Commit b14dae0

Browse files
authored
Fix typos and grammar (#408)
1 parent d77e5dc commit b14dae0

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Workflow Definition and an Activity Definition using API Key to authenticate wit
4141
server API. Additional
4242
documentation: [How to complete an Activity Execution asynchronously in Go](https://docs.temporal.io/application-development/foundations/#develop-activities)
4343

44-
- [**Retry Activity Execution**](./retryactivity): This samples
44+
- [**Retry Activity Execution**](./retryactivity): This sample
4545
executes an unreliable Activity. The Activity is executed with a custom Retry Policy. If the Activity Execution fails,
4646
the Server will schedule a retry based on the Retry Policy. This Activity also includes a Heartbeat, which enables it
4747
to resume from the Activity Execution's last reported progress when it retries.
@@ -51,13 +51,13 @@ Workflow Definition and an Activity Definition using API Key to authenticate wit
5151
Workflow Execution after completing its last Run.
5252

5353
- [**Child Workflow with ContinueAsNew**](./child-workflow-continue-as-new): Demonstrates
54-
that the call to Continue-As-New, by a Child Workflow Execution, is *not visible to the a parent*. The Parent Workflow
54+
that the call to Continue-As-New, by a Child Workflow Execution, is *not visible to the parent*. The Parent Workflow
5555
Execution receives a notification only when a Child Workflow Execution completes, fails or times out. This is a useful
5656
feature when there is a need to **process a large set of data**. The child can iterate over the data set calling
5757
Continue-As-New periodically without polluting the parents' history.
5858

5959
- [**Cancellation**](./cancellation): Demonstrates how to cancel a
60-
Workflow Execution by calling `CancelWorkflow`, an how to defer an Activity Execution that "cleans up" after the
60+
Workflow Execution by calling `CancelWorkflow`, and how to defer an Activity Execution that "cleans up" after the
6161
Workflow Execution has been cancelled.
6262

6363
- **Coroutines**: Do not use native `go` routines in Workflows. Instead use Temporal coroutines (`workflow.Go()`) to
@@ -68,7 +68,7 @@ Workflow Definition and an Activity Definition using API Key to authenticate wit
6868
, [PSO](./pso) Workflow examples.
6969

7070
- [**Cron Workflow**](./cron): Demonstrates a recurring Workflow
71-
Execution that occurs according to a cron schedule. This samples showcases the `HasLastCompletionResult`
71+
Execution that occurs according to a cron schedule. This sample showcases the `HasLastCompletionResult`
7272
and `GetLastCompletionResult` APIs which are used to pass information between executions. Additional
7373
documentation: [What is a Temporal Cron Job?](https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job).
7474

@@ -176,11 +176,11 @@ These samples demonstrate some common control flow patterns using Temporal's Go
176176
not finished.
177177

178178
- [**Split/Merge Future**](./splitmerge-future): Demonstrates how to
179-
use futures to await for completion of multiple activities invoked in parallel. This samples to processes chunks of a
179+
use futures to await completion of multiple activities invoked in parallel. This sample processes chunks of a
180180
large work item in parallel, and then merges the intermediate results to generate the final result.
181181

182182
- [**Split/Merge Selector**](./splitmerge-selector): Demonstrates how
183-
to use Selector to process activity results as soon as they become available. This samples to processes chunks of a
183+
to use Selector to process activity results as soon as they become available. This sample processes chunks of a
184184
large work item in parallel, and then merges the intermediate results to generate the final result.
185185

186186
- [**Synchronous Proxy Workflow pattern**](./synchronous-proxy): This
@@ -198,7 +198,7 @@ These samples demonstrate some common control flow patterns using Temporal's Go
198198

199199
- [**Nexus**](./nexus): Demonstrates how to use the Nexus APIs to facilitate cross namespace calls.
200200
- [**Nexus Cancelation**](./nexus-cancelation): Demonstrates how to cancel a Nexus operation from a caller workflow.
201-
- [**Nexus Context Propagation**](./nexus-context-propagation): Demonstrates how to propgate context through client calls, workflows, and Nexus headers.
201+
- [**Nexus Context Propagation**](./nexus-context-propagation): Demonstrates how to propagate context through client calls, workflows, and Nexus headers.
202202

203203
### Scenario based examples
204204

@@ -213,7 +213,7 @@ These samples demonstrate some common control flow patterns using Temporal's Go
213213

214214
- [**File Processing**](./fileprocessing): Demonstrates how to
215215
download and process a file using set of Activities that run on the same host. Activities are executed to download a
216-
file from the web, store it locally on the host, and then "process it". This samples showcases how to handle a
216+
file from the web, store it locally on the host, and then "process it". This sample showcases how to handle a
217217
scenario where all subsequent Activities need to execute on the same host as the first Activity in the sequence. In
218218
Go, this is achieved by using the Session APIs.
219219

@@ -222,8 +222,8 @@ These samples demonstrate some common control flow patterns using Temporal's Go
222222
use of parallel executions, `ContinueAsNew` for long histories, a Query API, and the use of a custom `DataConverter`
223223
for serialization.
224224

225-
- [**Polling Services**](./polling): Recommended implementation of an activity that needs to periodically poll an external
226-
resource waiting its successful completion
225+
- [**Polling Services**](./polling): Recommended implementation of an activity that needs to periodically poll an external
226+
resource waiting for its successful completion
227227

228228
- [**Prometheus Metrics**](./metrics): Demonstrates how to instrument
229229
Temporal with Prometheus and Uber's Tally library.
@@ -235,7 +235,7 @@ resource waiting its successful completion
235235
Demonstrates how to accept requests via signals and use queries to poll for responses.
236236

237237
- [**Request/Response with Response Updates**](./reqrespupdate):
238-
Demonstrates how to accept requests and responsond via updates.
238+
Demonstrates how to accept requests and respond via updates.
239239

240240
- [**Early-Return**](./early-return):
241241
Demonstrates how to receive a response mid-workflow, while the workflow continues to run to completion.

nexus-cancelation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This sample shows how to cancel a Nexus operation from a caller workflow.
44

5-
From more details on Nexus and how to setup to run this sample please see the [Nexus Sample](../nexus/README.md).
5+
For more details on Nexus and how to set up to run this sample, please see the [Nexus Sample](../nexus/README.md).
66

77
### Running the sample
88

nexus-cancelation/caller/workflows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func HelloCallerWorkflow(ctx workflow.Context, name string) (string, error) {
6464
})
6565
}
6666
// Wait for all operations to resolve. Once the workflow completes, the server will stop trying to cancel any
67-
// operations that have not yet recieved cancelation, letting them run to completion. It is totally valid to
67+
// operations that have not yet received cancelation, letting them run to completion. It is totally valid to
6868
// abandon operations for certain use cases.
6969
wg.Wait(ctx)
7070

nexus-context-propagation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This sample shows how to propagate context through client calls, workflows, and Nexus headers.
44

5-
From more details on Nexus and how to setup to run this samples please see the [Nexus Sample](../nexus/README.md).
5+
For more details on Nexus and how to set up to run this sample, please see the [Nexus Sample](../nexus/README.md).
66

77
### Running the sample
88

0 commit comments

Comments
 (0)