Skip to content

Commit 6d6dff9

Browse files
authored
fix comments to align with official doc (#102)
* fix comments to align with official doc * update maven packages link in Readme
1 parent c524a71 commit 6d6dff9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ The following packages are produced from this repo.
7878

7979
| Package | Latest version |
8080
| - | - |
81-
| Durable Task - Client | ![Maven Central](https://img.shields.io/maven-central/v/com.microsoft/durabletask-client?label=durabletask-client) |
82-
| Durable Task - Azure Functions | ![Maven Central](https://img.shields.io/maven-central/v/com.microsoft/durabletask-azure-functions?label=durabletask-azure-functions) |
81+
| Durable Task - Client | [![Maven Central](https://img.shields.io/maven-central/v/com.microsoft/durabletask-client?label=durabletask-client)](https://mvnrepository.com/artifact/com.microsoft/durabletask-client/1.0.0) |
82+
| Durable Task - Azure Functions | [![Maven Central](https://img.shields.io/maven-central/v/com.microsoft/durabletask-azure-functions?label=durabletask-azure-functions)](https://mvnrepository.com/artifact/com.microsoft/durabletask-azure-functions/1.0.1) |
8383

8484
## Getting started with Azure Functions
8585

samples-azure-functions/src/main/java/com/functions/AzureFunctions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public HttpResponseMessage startOrchestration(
3131
}
3232

3333
/**
34-
* This is the orchestrator function. The OrchestrationRunner.loadAndRun() static
35-
* method is used to take the function input and execute the orchestrator logic.
34+
* This is the orchestrator function, which can schedule activity functions, create durable timers,
35+
* or wait for external events in a way that's completely fault-tolerant.
3636
*/
3737
@FunctionName("Cities")
3838
public String citiesOrchestrator(
39-
@DurableOrchestrationTrigger(name = "taskOrchestrationContext") TaskOrchestrationContext ctx) {
39+
@DurableOrchestrationTrigger(name = "ctx") TaskOrchestrationContext ctx) {
4040
String result = "";
4141
result += ctx.callActivity("Capitalize", "Tokyo", String.class).await() + ", ";
4242
result += ctx.callActivity("Capitalize", "London", String.class).await() + ", ";

0 commit comments

Comments
 (0)