Skip to content

Commit a93b3be

Browse files
committed
Added information about the new 'ThrowOnFullBatchFailure' setting to the <summary> of the BatchProcessorAttribute.
1 parent 09fc7f9 commit a93b3be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ namespace AWS.Lambda.Powertools.BatchProcessing;
9191
/// <term>POWERTOOLS_BATCH_PROCESSING_MAX_DEGREE_OF_PARALLELISM</term>
9292
/// <description>int, defaults to 1 (no parallelism). Specify -1 to automatically use the value of <see cref="System.Environment.ProcessorCount">ProcessorCount</see>.</description>
9393
/// </item>
94+
/// <item>
95+
/// <term>POWERTOOLS_BATCH_THROW_ON_FULL_BATCH_FAILURE</term>
96+
/// <description>bool, defaults to true. Controls if an exception is thrown on full batch failure.</description>
97+
/// </item>
9498
/// </list>
9599
/// <br/>
96100
/// Parameters <br/>
@@ -124,6 +128,10 @@ namespace AWS.Lambda.Powertools.BatchProcessing;
124128
/// <term>MaxDegreeOfParallelism</term>
125129
/// <description>int, defaults to 1 (no parallelism). Specify -1 to automatically use the value of <see cref="System.Environment.ProcessorCount">ProcessorCount</see>.</description>
126130
/// </item>
131+
/// <item>
132+
/// <term>ThrowOnFullBatchFailure</term>
133+
/// <description>bool, defaults to true. Controls if an exception is thrown on full batch failure.</description>
134+
/// </item>
127135
/// </list>
128136
/// </summary>
129137
[AttributeUsage(AttributeTargets.Method)]

0 commit comments

Comments
 (0)