Skip to content

Commit

Permalink
Merge pull request #4394 from hhunter-ms/issue_4393
Browse files Browse the repository at this point in the history
[State Mgmt] fix typo
  • Loading branch information
hhunter-ms authored Oct 22, 2024
2 parents fe17926 + c3b0059 commit 0748da5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ State management is one of the most common needs of any new, legacy, monolith, o

In this guide, you'll learn the basics of using the key/value state API to allow an application to save, get, and delete state.

## Example

The code example below _loosely_ describes an application that processes orders with an order processing service which has a Dapr sidecar. The order processing service uses Dapr to store state in a Redis state store.

<img src="/images/building-block-state-management-example.png" width=1000 alt="Diagram showing state management of example service">
Expand Down Expand Up @@ -554,7 +552,7 @@ namespace EventService
string DAPR_STORE_NAME = "statestore";
//Using Dapr SDK to retrieve multiple states
using var client = new DaprClientBuilder().Build();
IReadOnlyList<BulkStateItem> mulitpleStateResult = await client.GetBulkStateAsync(DAPR_STORE_NAME, new List<string> { "order_1", "order_2" }, parallelism: 1);
IReadOnlyList<BulkStateItem> multipleStateResult = await client.GetBulkStateAsync(DAPR_STORE_NAME, new List<string> { "order_1", "order_2" }, parallelism: 1);
}
}
}
Expand Down

0 comments on commit 0748da5

Please sign in to comment.