Skip to content

Commit d3a761e

Browse files
authored
Merge pull request #99069 from cgillum/patch-11
Fix typo in signalEntity client sample function
2 parents 210e847 + ce55249 commit d3a761e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/azure-functions/durable/durable-functions-bindings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ If you're using scripting languages (for example, *.csx* or *.js* files) for dev
514514
"taskHub": "<Optional - name of the task hub>",
515515
"connectionName": "<Optional - name of the connection string app setting>",
516516
"type": "durableClient",
517-
"direction": "out"
517+
"direction": "in"
518518
}
519519
```
520520

articles/azure-functions/durable/durable-functions-entities.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ The following examples illustrate these various ways of accessing entities.
161161
162162
### Example: Client signals an entity
163163

164-
To access entities from an ordinary Azure Function, which is also known as a client function, use the [entity client output binding](durable-functions-bindings.md#entity-client). The following example shows a queue-triggered function signaling an entity using this binding.
164+
To access entities from an ordinary Azure Function, which is also known as a client function, use the [entity client binding](durable-functions-bindings.md#entity-client). The following example shows a queue-triggered function signaling an entity using this binding.
165165

166166
```csharp
167167
[FunctionName("AddFromQueue")]
@@ -182,7 +182,7 @@ const df = require("durable-functions");
182182
module.exports = async function (context) {
183183
const client = df.getClient(context);
184184
const entityId = new df.EntityId("Counter", "myCounter");
185-
await context.df.signalEntity(entityId, "add", 1);
185+
await client.signalEntity(entityId, "add", 1);
186186
};
187187
```
188188

0 commit comments

Comments
 (0)