Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion references/dotnet/dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class GreetingWorkflow
}
```

**Worker (Program.cs)** - Worker setup:
**Worker (Program.cs)** - Worker setup (registers activity and workflow, runs indefinitely and processes tasks):

```csharp
using Temporalio.Client;
Expand Down
2 changes: 1 addition & 1 deletion references/go/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (a *Activities) Greet(ctx context.Context, name string) (string, error) {
}
```

**worker/main.go** - Worker setup:
**worker/main.go** - Worker setup (registers activity and workflow, runs indefinitely and processes tasks):

```go
package main
Expand Down
2 changes: 1 addition & 1 deletion references/java/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class GreetingWorkflowImpl implements GreetingWorkflow {
}
```

**GreetingWorker.java** - Worker setup:
**GreetingWorker.java** - Worker setup (registers activity and workflow, runs indefinitely and processes tasks):

```java
package greetingapp;
Expand Down
2 changes: 1 addition & 1 deletion references/python/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class GreetingWorkflow:
)
```

**worker.py** - Worker setup (imports activity and workflow, runs indefinitely and processes tasks):
**worker.py** - Worker setup (registers activity and workflow, runs indefinitely and processes tasks):

```python
import asyncio
Expand Down
2 changes: 1 addition & 1 deletion references/typescript/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function greetingWorkflow(name: string): Promise<string> {
}
```

**worker.ts** - Worker setup (imports activities and workflows, runs indefinitely):
**worker.ts** - Worker setup (registers activity and workflow, runs indefinitely and processes tasks):

```typescript
import { Worker } from '@temporalio/worker';
Expand Down