mirror of https://github.com/dapr/docs.git
remove loop
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
aaa2c2a203
commit
ff1f2803df
|
@ -101,7 +101,6 @@ For example, to replace the `source` and `id` values from [the CloudEvent exampl
|
|||
|
||||
```python
|
||||
with DaprClient() as client:
|
||||
for i in range(1):
|
||||
order = {'orderId': i}
|
||||
# Publish an event/message using Dapr PubSub
|
||||
result = client.publish_event(
|
||||
|
@ -117,7 +116,6 @@ with DaprClient() as client:
|
|||
{{% codetab %}}
|
||||
|
||||
```csharp
|
||||
for (int i = 1) {
|
||||
var order = new Order(i);
|
||||
using var client = new DaprClientBuilder().Build();
|
||||
|
||||
|
@ -132,7 +130,6 @@ for (int i = 1) {
|
|||
Console.WriteLine("Published data: " + order);
|
||||
|
||||
await Task.Delay(TimeSpan.FromSeconds(1));
|
||||
}
|
||||
```
|
||||
|
||||
{{% /codetab %}}
|
||||
|
|
Loading…
Reference in New Issue