diff --git a/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-patterns.md b/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-patterns.md index 3519497a2..6e5d35f09 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-patterns.md +++ b/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-patterns.md @@ -627,9 +627,9 @@ await context.CallActivityAsync("PostResults", sum); With the release of 1.16, it's even easier to process workflow activities in parallel while putting an upper cap on concurrency by using the following extension methods on the `WorkflowContext`: -{{< tabs ".NET" >}} +{{% tabpane %}} -{{% codetab %}} +{{% tab header=".NET" %}} ```csharp //Revisiting the earlier example... @@ -643,9 +643,9 @@ var sum = results.Sum(t => t); await context.CallActivityAsync("PostResults", sum); ``` -{{% /codetab %}} +{{% /tab %}} -{{< /tabs >}} +{{% /tabpane %}} Limiting the degree of concurrency in this way can be useful for limiting contention against shared resources. For example, if the activities need to call into external resources that have their own concurrency limits, like a databases or external APIs, it can be useful to ensure that no more than a specified number of activities call that resource concurrently. diff --git a/daprdocs/content/en/reference/components-reference/supported-bindings/gcpbucket.md b/daprdocs/content/en/reference/components-reference/supported-bindings/gcpbucket.md index 07e03f9ef..617b6e76b 100644 --- a/daprdocs/content/en/reference/components-reference/supported-bindings/gcpbucket.md +++ b/daprdocs/content/en/reference/components-reference/supported-bindings/gcpbucket.md @@ -237,22 +237,22 @@ The metadata parameters are: #### Example -{{< tabs Windows Linux >}} +{{% tabpane text=true %}} - {{% codetab %}} + {{% tab header="Windows" %}} ```bash curl -d '{ \"operation\": \"bulkget\"}' http://localhost:/v1.0/bindings/ ``` - {{% /codetab %}} + {{% /tab %}} - {{% codetab %}} + {{% tab header="Linux" %}} ```bash curl -d '{ "operation": "bulkget"}' \ http://localhost:/v1.0/bindings/ ``` - {{% /codetab %}} + {{% /tab %}} -{{< /tabs >}} +{{% /tabpane %}} #### Response