Skip to content

Commit 1cd17fd

Browse files
Merge branch 'main' into jimmyjea-patch-1
2 parents 4aa5da8 + 9afd938 commit 1cd17fd

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

docs/develop/go/workers/run-worker-process.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ Create a [`Worker`](https://pkg.go.dev/go.temporal.io/sdk/worker#Worker) by call
2222
2. The name of the Task Queue to poll.
2323
3. A [`worker.Options`](https://pkg.go.dev/go.temporal.io/sdk/internal#WorkerOptions) struct (can be empty for defaults).
2424

25-
Register your Workflow and Activity types, then call `Run()` to start polling.
25+
Register your Workflow and Activity types, then call `Run()` to start polling. The Worker process is a long-running process that blocks while polling for tasks.
26+
Run it in a separate terminal from your starter code or other application logic.
2627

2728
```go
2829
package main

yarn.lock

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -845,9 +845,9 @@
845845
"@babel/helper-plugin-utils" "^7.28.6"
846846

847847
"@babel/plugin-transform-modules-systemjs@^7.29.0":
848-
version "7.29.0"
849-
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.0.tgz#e458a95a17807c415924106a3ff188a3b8dee964"
850-
integrity sha512-PrujnVFbOdUpw4UHiVwKvKRLMMic8+eC0CuNlxjsyZUiBjhFdPsewdXCkveh2KqBA9/waD0W1b4hXSOBQJezpQ==
848+
version "7.29.4"
849+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.4.tgz#f621105da99919c15cf4bde6fcc7346ef95e7b20"
850+
integrity sha512-N7QmZ0xRZfjHOfZeQLJjwgX2zS9pdGHSVl/cjSGlo4dXMqvurfxXDMKY4RqEKzPozV78VMcd0lxyG13mlbKc4w==
851851
dependencies:
852852
"@babel/helper-module-transforms" "^7.28.6"
853853
"@babel/helper-plugin-utils" "^7.28.6"
@@ -4327,12 +4327,13 @@ aws4@^1.8.0:
43274327
integrity sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==
43284328

43294329
axios@^1.6.1:
4330-
version "1.15.0"
4331-
resolved "https://registry.yarnpkg.com/axios/-/axios-1.15.0.tgz#0fcee91ef03d386514474904b27863b2c683bf4f"
4332-
integrity sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==
4330+
version "1.16.1"
4331+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.16.1.tgz#517e29291d19d6e8cf919ff264f4fe157261ba12"
4332+
integrity sha512-caYkukvroVPO8KrzuJEb50Hm07KwfBZPEC3VeFHTsqWHvKTsy54hjJz9BS/cdaypROE2rH6xvm9mHX4fgWkr3A==
43334333
dependencies:
4334-
follow-redirects "^1.15.11"
4334+
follow-redirects "^1.16.0"
43354335
form-data "^4.0.5"
4336+
https-proxy-agent "^5.0.1"
43364337
proxy-from-env "^2.1.0"
43374338

43384339
babel-extract-comments@^1.0.0:
@@ -6532,9 +6533,9 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6:
65326533
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
65336534

65346535
fast-uri@^3.0.1:
6535-
version "3.1.0"
6536-
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.0.tgz#66eecff6c764c0df9b762e62ca7edcfb53b4edfa"
6537-
integrity sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==
6536+
version "3.1.2"
6537+
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.2.tgz#8af3d4fc9d3e71b11572cc2673b514a7d1a8c8ec"
6538+
integrity sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==
65386539

65396540
fastq@^1.6.0:
65406541
version "1.20.1"
@@ -6656,7 +6657,7 @@ flatted@^3.2.9:
66566657
resolved "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz"
66576658
integrity sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==
66586659

6659-
follow-redirects@^1.0.0, follow-redirects@^1.15.11:
6660+
follow-redirects@^1.0.0, follow-redirects@^1.16.0:
66606661
version "1.16.0"
66616662
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.16.0.tgz#28474a159d3b9d11ef62050a14ed60e4df6d61bc"
66626663
integrity sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==
@@ -7528,9 +7529,9 @@ httperrors@^2.2.0:
75287529
dependencies:
75297530
createerror "1.3.0"
75307531

7531-
https-proxy-agent@^5.0.0:
7532+
https-proxy-agent@^5.0.0, https-proxy-agent@^5.0.1:
75327533
version "5.0.1"
7533-
resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz"
7534+
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6"
75347535
integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==
75357536
dependencies:
75367537
agent-base "6"

0 commit comments

Comments
 (0)