Skip to content

Commit 03f96a0

Browse files
committed
PR feedback
1 parent 562615a commit 03f96a0

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

nexus-standalone-operations/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ temporal server start-dev \
3434
npm install # or `pnpm` or `yarn`
3535
```
3636

37-
2. Start a compatible Temporal Server on `localhost:7233`.
38-
39-
3. Create the Nexus endpoint:
37+
2. Create the Nexus endpoint:
4038

4139
```sh
4240
temporal operator nexus endpoint create \
@@ -45,13 +43,13 @@ temporal server start-dev \
4543
--target-task-queue nexus-standalone-operations
4644
```
4745

48-
4. In one shell, start the Worker:
46+
3. In one shell, start the Worker:
4947

5048
```sh
51-
npm run start.worker
49+
npm run worker
5250
```
5351

54-
5. In another shell, execute the sample:
52+
4. In another shell, execute the sample:
5553

5654
```sh
5755
npm run starter

nexus-standalone-operations/src/starter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function run() {
1616
service: myNexusService,
1717
});
1818

19-
// Start sync echo operation and await the result immediately.
19+
// Start sync echo operation and await the result immediately via executeOperation.
2020
const operationId = `echo-${nanoid()}`;
2121
const echoResult = await nexusClient.executeOperation(
2222
myNexusService.operations.echo,

0 commit comments

Comments
 (0)